remove sanity checks
This commit is contained in:
@@ -89,8 +89,8 @@ int OutletDio::from_json(struct json_object *a_node)
|
||||
}
|
||||
|
||||
// Sanity checks.
|
||||
if ((the_switch == -1) || (the_sender == -1))
|
||||
return -1;
|
||||
// if ((the_switch == -1) || (the_sender == -1))
|
||||
// return -1;
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user