[24AA02E48] fix warnings

This commit is contained in:
ІО-23 Шмуляр Олег 2025-04-14 18:11:24 +03:00
parent 107a454051
commit 8b5bbd3e9a
1 changed files with 6 additions and 2 deletions

View File

@ -32,6 +32,8 @@ void EEPROM_24AA02E48_run_test(void)
display_write_data_seq("/5 ");
switch (op_result) {
case HAL_OK:
break;
case HAL_ERROR:
display_write_data_seq("ERROR");
break;
@ -64,6 +66,8 @@ void EEPROM_24AA02E48_run_test(void)
display_write_data_seq("/5 ");
switch (op_result) {
case HAL_OK:
break;
case HAL_ERROR:
display_write_data_seq("ERROR");
break;
@ -89,10 +93,10 @@ void EEPROM_24AA02E48_run_test(void)
display_write_data_byte('0' + err_count / 10 % 10);
display_write_data_byte('0' + err_count % 10);
display_write_data_seq("E ");
display_write_data_seq(data_buffer);
display_write_data_seq((char *) data_buffer);
} else {
DISPLAY_SET_CURSOR(1, 1);
display_write_data_seq("OK ");
display_write_data_seq(data_buffer);
display_write_data_seq((char *) data_buffer);
}
}