set_owner_details returns an error code not 0 or 1
This commit is contained in:
@@ -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");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user