From: sonic74 Date: Thu, 8 Dec 2011 16:16:08 +0000 (+0000) Subject: Removed compiler warning X-Git-Tag: svn1203~42 X-Git-Url: https://git.webhop.me/?a=commitdiff_plain;h=27da4769fd488b7dd860e88655542cbc4fbf04c1;p=lcd4linux.git Removed compiler warning git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@1161 3ae390bd-cb1e-0410-b409-cd5a39f66f1f --- diff --git a/drv_D4D.c b/drv_D4D.c index bbfeea3..f29de52 100755 --- 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); }