set_owner_details returns an error code not 0 or 1

This commit is contained in:
joran2738
2023-11-25 15:16:09 +01:00
parent 9bec13a217
commit a73080b1fc
2 changed files with 8 additions and 8 deletions

View File

@@ -146,7 +146,7 @@ int main(void)
}
connected:
if (udp_broadcast_set_owner_details("Joran", "Van Nieuwenhoven")){
if (udp_broadcast_set_owner_details("Joran", "Van Nieuwenhoven") != ERR_OK){
LOG_WARN(TAG,"error setting owner's details");
}