mirror of
https://github.com/eddyem/stm32samples.git
synced 2026-02-28 11:54:30 +03:00
make pdnuart blocking
This commit is contained in:
@@ -49,6 +49,7 @@ int main(void){
|
||||
USB_setup();
|
||||
CAN_setup(the_conf.CANspeed);
|
||||
adc_setup();
|
||||
pdnuart_setup();
|
||||
USBPU_ON();
|
||||
uint32_t ctr = 0;
|
||||
CAN_message *can_mesg;
|
||||
@@ -87,6 +88,5 @@ int main(void){
|
||||
if(ans) USB_sendstr(ans);
|
||||
}
|
||||
process_keys();
|
||||
pdnuart_poll();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user