]> git.webhop.me Git - lcd4linux.git/commitdiff
Removed compiler warning
authorsonic74 <sonic74@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>
Thu, 8 Dec 2011 16:16:08 +0000 (16:16 +0000)
committersonic74 <sonic74@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>
Thu, 8 Dec 2011 16:16:08 +0000 (16:16 +0000)
git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@1161 3ae390bd-cb1e-0410-b409-cd5a39f66f1f

drv_D4D.c

index bbfeea3799a56eee81c47db0ffd0acd676834448..f29de529d9a89a6e3e2edaa2a3279337c7666832 100755 (executable)
--- a/drv_D4D.c
+++ b/drv_D4D.c
@@ -116,7 +116,7 @@ static void drv_D4D_receive_ACK()
 
 static void drv_D4D_send_nowait(const char *data, const unsigned int len)
 {
-    if (len > 1 && data[0] >= 32 && data[0] <= 127)
+    if (len > 1 && data[0] >= 32 && data[0] < 127)
        debug("drv_D4D_send_nowait('%c'", data[0]);
     drv_generic_serial_write(data, len);
 }