replace address parameter checks with new helper functions
This commit is contained in:
parent
61fd2aa1c7
commit
898ee57d41
@ -90,7 +90,7 @@ main(int argc, char **argv)
|
|||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (strlen(addr_str) == 16)
|
if (mbus_is_secondary_address(addr_str))
|
||||||
{
|
{
|
||||||
// secondary addressing
|
// secondary addressing
|
||||||
int ret;
|
int ret;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user