- added general binary scriptcontext protocoll

- improved some drivers
This commit is contained in:
zolliker
2010-09-02 11:41:31 +00:00
parent 1e9f9d408c
commit bc2c9e5a3e
10 changed files with 528 additions and 27 deletions

View File

@@ -141,7 +141,7 @@ static int calc_crc(char *inp, int inpLen, int addCrc)
/* CRC runs cyclic Redundancy Check Algorithm on input inp */
/* Returns value of 16 bit CRC after completion and */
/* always adds 2 crc bytes to message */
/* adds 2 crc bytes if addCrc is not 0 */
/* returns 0 if incoming message has correct CRC */
unsigned int crc = 0xffff;