mirror of
https://github.com/eddyem/stm32samples.git
synced 2026-02-28 11:54:30 +03:00
hide deprecated code; make USB snippet common for F0/F1/F3
This commit is contained in:
@@ -56,6 +56,7 @@ int main(void){
|
||||
USB_sendstr("CAN bus fifo overrun occured!\n");
|
||||
}
|
||||
while((can_mesg = CAN_messagebuf_pop())){
|
||||
IWDG->KR = IWDG_REFRESH;
|
||||
if(can_mesg && isgood(can_mesg->ID)){
|
||||
LED_on(LED0);
|
||||
lastT = Tms;
|
||||
|
||||
Reference in New Issue
Block a user