usart speedup
This commit is contained in:
parent
8bf9cfe00d
commit
3473057f98
4 changed files with 4 additions and 4 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue