change sync byte to 0xAA

This commit is contained in:
Samuel Sadok
2017-11-06 21:27:36 +01:00
parent a4cc254b2b
commit 7de12a4639
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -58,7 +58,7 @@
#include "crc.hpp"
constexpr uint8_t SYNC_BYTE = '$';
constexpr uint8_t SYNC_BYTE = 0xAA;
constexpr uint8_t CRC8_INIT = 0x42;
constexpr uint16_t CRC16_INIT = 0x1337;
constexpr uint16_t PROTOCOL_VERSION = 1;
+1 -1
View File
@@ -3,7 +3,7 @@
import time
import struct
SYNC_BYTE = ord('$')
SYNC_BYTE = 0xAA
CRC8_INIT = 0x42
CRC16_INIT = 0x1337
PROTOCOL_VERSION = 1