if( timesync != 0 )
*(timesync_relative_t*)timesync = (*(timesync_absolute_t*)timesync) - time32;
- do {
+ while( length-- != 0 )
call FastSpiByte.splitReadWrite(*(data++));
- }
- while( --length != 0 );
// wait for the SPI transfer to finish
call FastSpiByte.splitRead();
async command uint8_t PacketLinkQuality.get(message_t* msg)
{
- // we have some bug in BLIP, so fix it here
- if( getMeta(msg)->lqi > 120 )
- return 120;
-
return getMeta(msg)->lqi;
}