summaryrefslogtreecommitdiff
path: root/avr/crc.h
diff options
context:
space:
mode:
authorLeo C2014-08-21 11:36:14 +0200
committerLeo C2014-08-21 11:36:14 +0200
commit21a24f90c5aaaaf13f91716208b32cde163c5918 (patch)
treeefc6f9ebab5f84d3af20493821444f220b957962 /avr/crc.h
parentdea9a31523216caa153c589426b175d52aa43634 (diff)
downloadz180-stamp-21a24f90c5aaaaf13f91716208b32cde163c5918.zip
Create include directory
Diffstat (limited to 'avr/crc.h')
-rw-r--r--avr/crc.h12
1 files changed, 0 insertions, 12 deletions
diff --git a/avr/crc.h b/avr/crc.h
deleted file mode 100644
index c38bae4..0000000
--- a/avr/crc.h
+++ /dev/null
@@ -1,12 +0,0 @@
-#ifndef CRC_H
-#define CRC_H
-
-#include <util/crc16.h>
-
-static inline
-uint16_t crc16(uint16_t crc, uint8_t data)
-{
- return _crc_ccitt_update(crc, data);
-}
-
-#endif /* CRC_H */