Seems like all U[S]ARTs works well. Tested on speeds up to 2Mbaud (as CH340 can).

This commit is contained in:
Edward Emelianov
2026-02-17 23:37:17 +03:00
parent fb570367fa
commit 68028f42a3
13 changed files with 104 additions and 64 deletions

View File

@@ -95,8 +95,7 @@ static const char* erpg(const char *str){
static void sendoverU(uint8_t ifno, char *str){
int len = strlen(str);
CFGWR("try to send "); CFGWRn(str);
str[len] = '\n';
len = usart_send(ifno, (const uint8_t*)str, len+1);
len = usart_send(ifno, (const uint8_t*)str, len);
CFGWR("sent "); CFGWR(i2str(len)); CFGWR("bytes\n");
}