diff options
author | volker <volker@3ae390bd-cb1e-0410-b409-cd5a39f66f1f> | 2013-02-13 13:49:22 +0000 |
---|---|---|
committer | volker <volker@3ae390bd-cb1e-0410-b409-cd5a39f66f1f> | 2013-02-13 13:49:22 +0000 |
commit | 5559e7f6cb8e9e5bdc54677704db5abcf84306ee (patch) | |
tree | 8f807dee1ad631fe530d52f44c7961a71f5c82a8 /drv_serdisplib.c | |
parent | 71df54522bbf46cbc18666be702106d1d591912a (diff) | |
download | lcd4linux-5559e7f6cb8e9e5bdc54677704db5abcf84306ee.tar.gz |
stabilize text widget when no string is available; info message when serdisplib cannot open port
git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@1192 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
Diffstat (limited to 'drv_serdisplib.c')
-rw-r--r-- | drv_serdisplib.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drv_serdisplib.c b/drv_serdisplib.c index d4b5542..d6fe4b0 100644 --- a/drv_serdisplib.c +++ b/drv_serdisplib.c @@ -164,6 +164,7 @@ static int drv_SD_start(const char *section) sdcd = SDCONN_open(port); if (sdcd == NULL) { error("%s: open(%s) failed: %s", Name, port, sd_geterrormsg()); + info("%s: examples:\n serraw:/dev/ttyS0\n par:/dev/parport0\n USB:<vendor>/<product>", Name); return -1; } |