Improved error message

This commit is contained in:
Florian Pose
2026-07-13 13:41:53 +02:00
parent 5b16117c1f
commit f4a1204be2
+2 -1
View File
@@ -799,7 +799,8 @@ void ec_fsm_foe_state_data_read(
}
if (rec_size < EC_FOE_HEADER_SIZE) {
EC_SLAVE_ERR(slave, "Received invalid FoE mailbox data size.\n");
EC_SLAVE_ERR(slave, "Received corrupted FoE size (%zu bytes)!\n",
rec_size);
ec_foe_set_rx_error(fsm, FOE_PROT_ERROR);
return;
}