mirror of
https://github.com/esphome/esphome.git
synced 2026-09-20 11:38:48 +00:00
fix
This commit is contained in:
@@ -98,7 +98,7 @@ bool TaskLogBufferZephyr::borrow_message_main_loop(LogMessage **message, const c
|
||||
*text = (*message)->text_data();
|
||||
|
||||
// Remove trailing newlines
|
||||
while ((*message)->text_length > 0 && *text[(*message)->text_length - 1] == '\n') {
|
||||
while ((*message)->text_length > 0 && (*text)[(*message)->text_length - 1] == '\n') {
|
||||
(*message)->text_length--;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user