mirror of
https://github.com/odriverobotics/ODrive.git
synced 2026-09-20 14:38:18 +08:00
change sync byte to 0xAA
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
import time
|
||||
import struct
|
||||
|
||||
SYNC_BYTE = ord('$')
|
||||
SYNC_BYTE = 0xAA
|
||||
CRC8_INIT = 0x42
|
||||
CRC16_INIT = 0x1337
|
||||
PROTOCOL_VERSION = 1
|
||||
|
||||
Reference in New Issue
Block a user