diff options
Diffstat (limited to 'util/ectool/ec.c')
-rw-r--r-- | util/ectool/ec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util/ectool/ec.c b/util/ectool/ec.c index 08b6b1b37d..53a53605f6 100644 --- a/util/ectool/ec.c +++ b/util/ectool/ec.c @@ -70,7 +70,7 @@ int send_ec_data(uint8_t data) if ((timeout & 0xff) == 0) debug("."); } - if (timeout) { + if (!timeout) { debug("Timeout while sending data 0x%02x to EC!\n", data); // return -1; } |