mirror of
https://github.com/eddyem/stm32samples.git
synced 2026-03-21 09:11:00 +03:00
start with USART (now DEBUG-compile is unavialable)
This commit is contained in:
@@ -28,6 +28,7 @@ extern "C"{
|
||||
#include "gpioproto.h"
|
||||
#include "gpio.h"
|
||||
#include "gpioproto.h"
|
||||
#include "usart.h"
|
||||
#undef USBIF
|
||||
#define USBIF IGPIO
|
||||
#include "strfunc.h"
|
||||
@@ -571,6 +572,7 @@ void GPIO_process(){
|
||||
if(alert & pinmask) pin_getter(port, i);
|
||||
}
|
||||
}
|
||||
usart_process(NULL, 0);
|
||||
if(l == 0) return;
|
||||
if(l < 0) SEND("ERROR: USB buffer overflow or string was too long\n");
|
||||
else{
|
||||
|
||||
Reference in New Issue
Block a user