You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by ma...@apache.org on 2016/05/09 15:14:55 UTC

[12/13] incubator-mynewt-core git commit: crc16; add define for suggested seed.

crc16; add define for suggested seed.


Project: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/commit/f411b4e3
Tree: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/tree/f411b4e3
Diff: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/diff/f411b4e3

Branch: refs/heads/develop
Commit: f411b4e368b27ba30355df2fa95e14ddf4762985
Parents: 7546afc
Author: Marko Kiiskila <ma...@runtime.io>
Authored: Fri May 6 10:02:40 2016 -0700
Committer: Marko Kiiskila <ma...@runtime.io>
Committed: Mon May 9 08:05:16 2016 -0700

----------------------------------------------------------------------
 libs/util/include/util/crc16.h | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/f411b4e3/libs/util/include/util/crc16.h
----------------------------------------------------------------------
diff --git a/libs/util/include/util/crc16.h b/libs/util/include/util/crc16.h
index 92f9c91..b9b965f 100644
--- a/libs/util/include/util/crc16.h
+++ b/libs/util/include/util/crc16.h
@@ -30,6 +30,7 @@
 
 #include <inttypes.h>
 
+#define CRC16_INITIAL_CRC       0       /* what to seed crc16 with */
 unsigned short crc16_ccitt(uint16_t initial_crc, const void *buf, int len);
 
 #endif /* _CRC16_H_ */