slashdev / arm-loconet-starter

Starter project for Loconet projects. Based on arm-samd20-starter.
0 stars 0 forks source link

Refactor IDLE state to BUSY state #8

Closed fuegas closed 7 years ago

fuegas commented 7 years ago

We want to simplify the check if we can send or not, so if we change IDLE to BUSY, we can check if the bits for TRANSMIT, BUSY and COLLISION_DETECTED are set with a mask.