summaryrefslogtreecommitdiff
path: root/radiotools.c
diff options
context:
space:
mode:
Diffstat (limited to 'radiotools.c')
-rw-r--r--radiotools.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/radiotools.c b/radiotools.c
index 8ca9c19..c30239d 100644
--- a/radiotools.c
+++ b/radiotools.c
@@ -65,7 +65,7 @@ unsigned short crc16_ccitt(unsigned char *daten, int len, bool skipfirst)
// with start 0xffff and result invers
register unsigned short crc = 0xffff;
- if (skipfirst) *daten++;
+ if (skipfirst) daten++;
while (len--) {
crc = (crc >> 8) | (crc << 8);
crc ^= *daten++;