[LIS302DL] fix warnings
This commit is contained in:
parent
8d41a30bff
commit
c74299dc0d
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue