Can't set setUpdateInterval back to 0
gunnicus opened this issue · 0 comments
gunnicus commented
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);
}