make style

This commit is contained in:
Philippe Teuwen committed 2024-08-14 10:57:05 +02:00
1 parent 562c78ea7b
commit 83f6e2b56b
2 files changed
+10 -7

No files matched your search

+1 -1
View File
@@ -360,7 +360,7 @@ serial_port uart_open(const char *pcPortName, uint32_t speed, bool slient) {
free(prefix);
// Freshly available port can take a while before getting permission to access it. Up to 600ms on my machine...
for (uint8_t i =0; i < 10; i++) {
for (uint8_t i = 0; i < 10; i++) {
sp->fd = open(pcPortName, O_RDWR | O_NOCTTY | O_NDELAY | O_NONBLOCK);
if (sp->fd != -1 || errno != EACCES)
break;