diff options
author | michael-grunder <michael.grunder@gmail.com> | 2016-06-02 17:49:16 +0300 |
---|---|---|
committer | michael-grunder <michael.grunder@gmail.com> | 2016-06-02 17:49:16 +0300 |
commit | e3fb8436baef3690034baf087e9558b480cdaac8 (patch) | |
tree | 1cd046d481b96083a962c6e0cc2b1a2e6aeda455 /crc16.h | |
parent | ed1da64708fefca9da8b6ae598324a264ab1901a (diff) |
Comment debug code, fix compiler warnings
Diffstat (limited to 'crc16.h')
-rw-r--r-- | crc16.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -78,7 +78,7 @@ static const uint16_t crc16tab[256]= { 0x6e17,0x7e36,0x4e55,0x5e74,0x2e93,0x3eb2,0x0ed1,0x1ef0 }; -static uint16_t crc16(const char *buf, int len) { +static inline uint16_t crc16(const char *buf, int len) { int counter; uint16_t crc = 0; for (counter = 0; counter < len; counter++) |