diff --git a/core/src/usart.c b/core/src/usart.c index af4bcb2..2a6bcb3 100644 --- a/core/src/usart.c +++ b/core/src/usart.c @@ -83,12 +83,13 @@ int usart_tx (uint8_t usart,char *b,int size){ for (n=0;n= 0){ - break; + return ESUCCESS; }; wait_ms(1); }; }; + return -EFAIL; }; -#endif \ No newline at end of file +#endif