Skip to content

Commit

Permalink
Update examples/platform/silabs/SiWx917/uart.cpp
Browse files Browse the repository at this point in the history
Co-authored-by: lpbeliveau-silabs <[email protected]>
  • Loading branch information
arun-silabs and lpbeliveau-silabs authored Mar 4, 2024
1 parent d0da4d0 commit 69cc37d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/platform/silabs/SiWx917/uart.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ int16_t uartConsoleWrite(const char * Buf, uint16_t BufLength)
*/
int16_t uartLogWrite(const char * log, uint16_t length)
{
if (log == NULL || length < 1)
if (log == NULL || length == 0)
{
return UART_CONSOLE_ERR;
}
Expand Down

0 comments on commit 69cc37d

Please sign in to comment.