[LIS302DL] fix warnings

This commit is contained in:
ІО-23 Шмуляр Олег 2025-04-14 18:17:28 +03:00
parent 8d41a30bff
commit c74299dc0d
1 changed files with 2 additions and 0 deletions

View File

@ -43,6 +43,8 @@ static void print_error_message(HAL_StatusTypeDef result, size_t *err_count, siz
display_write_data_seq("/5 "); display_write_data_seq("/5 ");
switch (result) { switch (result) {
case HAL_OK:
break;
case HAL_ERROR: case HAL_ERROR:
display_write_data_seq("ERROR"); display_write_data_seq("ERROR");
break; break;