Open gunnicus opened 6 years ago
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); }
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); }