more style-bot

This commit is contained in:
Wyatt O'Day 2025-08-05 06:12:20 -04:00
parent 881ae02a84
commit 8d7aa2cc6b

View file

@ -149,7 +149,7 @@ static void mbed_debug(void *context, int level, const char *f_name,
/* bail out on nowhere to write data
or if data is empty */
if(!data || len == 0 || line[0] == 0)
return;
return;
/* discount any trailing newline */
if(line[len - 1] == '\n') {