---workable

This commit is contained in:
Yunhorn 2024-10-14 15:43:49 +08:00
parent 6d104e70e5
commit 903a5f823b
1 changed files with 1 additions and 1 deletions

View File

@ -212,7 +212,7 @@ static void print_result(RANGING_SENSOR_Result_t *Result)
printf("Cell Format :\n\n\r"); printf("Cell Format :\n\n\r");
for (l = 0; l < RANGING_SENSOR_NB_TARGET_PER_ZONE; l++) for (l = 0; l < RANGING_SENSOR_NB_TARGET_PER_ZONE; l++)
{ {
printf(" \033[38;5;10m%20s\033[0m : %20s\n", "Distance [mm]", "Status"); printf(" \033[38;5;10m%20s\033[0m : %20s\n", "Distance [mm]", "Status\r");
if ((Profile.EnableAmbient != 0) || (Profile.EnableSignal != 0)) if ((Profile.EnableAmbient != 0) || (Profile.EnableSignal != 0))
{ {
printf(" %20s : %20s\n", "Signal [kcps/spad]", "Ambient [kcps/spad]"); printf(" %20s : %20s\n", "Signal [kcps/spad]", "Ambient [kcps/spad]");