update print

This commit is contained in:
Gatsby Van
2024-01-29 18:51:31 +08:00
parent 1555c7493c
commit 3f10a1cbe4
2 changed files with 6 additions and 6 deletions
@@ -134,7 +134,7 @@ static int32_t Service_Packing(L2_INST *instPtr, L2_FRAME_TYPE type, uint8_t dst
}
default:
{
DBG_ERROR("Unexpected frame type: %d.\n", type);
DBG_ERROR("Unexpected frame type: %" PRIu8 ".\n", type);
return EPARAM;
break;
}
@@ -279,7 +279,7 @@ int32_t L2_Service_PktHandler(L2_INST *instPtr, uint8_t *msg)
break;
}
default:
DBG_ERROR("Unsupported frame type: %d.\n", instPtr->frame.last);
DBG_ERROR("Unsupported frame type: %" PRIu8 ".\n", frameType);
break;
}
return Status;
@@ -357,7 +357,7 @@ int32_t L2_Service_Routine(L2_INST *instPtr, const L2_RTNE_TABLE_ENTRY *rtneEntr
L2_SetupNextSlot(instPtr, torState, L2_SVC_FRAME);
break;
default:
DBG_ERROR("UNKNOWN slot type [%d].\n", rtneEntry->slotType);
DBG_ERROR("UNKNOWN slot type [%" PRIu8 "].\n", rtneEntry->slotType);
return FAILURE;
}
#ifdef DATALINK_ENABLE_BERTEST