Added bacnet_strnlen and bacnet_stricmp to avoid libc compiler problems (#857)

* Added bacnet_strnlen and bacnet_stricmp to avoid libc compiler problems

* FIxed compiler warnings in printf conversions.
This commit is contained in:
Steve Karg
2024-11-21 06:43:37 -06:00
committed by GitHub
parent c71b2e3a66
commit 1375347ab6
7 changed files with 64 additions and 63 deletions
+5 -2
View File
@@ -37,11 +37,14 @@ static void lighting_command_tracking_value_notify(
}
data->Tracking_Value_Callback(data->Key, old_value, value);
} else {
debug_printf("Lighting-Command[%lu]-Out-of-Service\n", data->Key);
debug_printf(
"Lighting-Command[%lu]-Out-of-Service\n",
(unsigned long)data->Key);
}
} else {
debug_printf(
"Lighting-Command[%lu]-Tracking-Value=%f\n", data->Key, value);
"Lighting-Command[%lu]-Tracking-Value=%f\n",
(unsigned long)data->Key, (double)value);
}
}