#include <math.h>\r
#include "hexfile.h"\r
\r
+uint8_t owCC_44_Temp=0;\r
\r
#ifdef WIN\r
void usleep(__int64 usec)\r
int owInterface::testCRC16(std::vector<uint8_t> data) {\r
return calcCRC16(data)==0xB001;\r
}\r
+\r
+int owInterface::testCRC16(std::vector<uint8_t> data,uint16_t load) {\r
+ crc16=load;\r
+ for(uint8_t v:data) {\r
+ docrc16(v);\r
+ }\r
+ return crc16==0xB001;\r
+\r
+}\r
+\r
\r
void owInterface::resetFlasher(uint64_t id) { // go back from Bootloader\r
std::vector<uint8_t> data;\r