usart speedup

This commit is contained in:
Tristan Krause 2019-03-27 11:45:14 +01:00
parent 8bf9cfe00d
commit 3473057f98
4 changed files with 4 additions and 4 deletions

View file

@ -49,7 +49,6 @@ public:
private:
int usart = -1;
uint32_t baudrate = 38400;
uint16_t timeout = 1000;
static B15F* instance;
@ -61,6 +60,7 @@ private:
constexpr static uint8_t MSG_FAIL = 0xFE;
constexpr static uint16_t RECONNECT_TIMEOUT = 32; // ms
constexpr static uint8_t RECONNECT_TRIES = 3;
constexpr static uint32_t BAUDRATE = 115200;
// REQUESTS
constexpr static uint8_t RQ_DISC = 0;