We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I'm trying to set updateinterval back to 0, but I've noticed this assert(ms > 100); is preventing me to do so. I end up have to comment out this line.
Maybe change it to something like this:
int PozyxClass::setUpdateInterval(uint16_t ms, uint16_t remote_id) { assert(ms > 100 || ms==0); assert(ms <= 60000);
return setWrite(POZYX_POS_INTERVAL, (uint8_t *) &ms, 2, remote_id); }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I'm trying to set updateinterval back to 0, but I've noticed this assert(ms > 100); is preventing me to do so. I end up have to comment out this line.
Maybe change it to something like this:
int PozyxClass::setUpdateInterval(uint16_t ms, uint16_t remote_id)
{
assert(ms > 100 || ms==0);
assert(ms <= 60000);
return setWrite(POZYX_POS_INTERVAL, (uint8_t *) &ms, 2, remote_id);
}
The text was updated successfully, but these errors were encountered: