mirror of
https://github.com/eddyem/stm32samples.git
synced 2026-02-28 03:44:30 +03:00
change to usb ringbuffer; still have veird bug using USART
This commit is contained in:
@@ -103,6 +103,7 @@ void can_messages_proc(){
|
||||
if(can_mesg->ID != CANID && can_mesg->ID != BCAST_ID) return;
|
||||
int16_t t;
|
||||
uint32_t U32;
|
||||
IWDG->KR = IWDG_REFRESH;
|
||||
if(data[0] == COMMAND_MARK){ // process commands
|
||||
if(len < 2) return;
|
||||
// master shouldn't react to broadcast commands!
|
||||
|
||||
Reference in New Issue
Block a user