L1NNA / SV1DUR

Planes-On-The-Bus-Go-Swish-Swish-Swish
3 stars 1 forks source link

Removed transmit/receive bit magic by introducing the TR enum. #27

Closed rykrr closed 2 years ago

rykrr commented 2 years ago

Related to #6

All instances of w.tr() == 0 and w.tr() == 1 have been replaced with w.tr() == TR::Receive and w.tr() == TR::Transmit, respectively. The new_cmd(...) function has been updated to use the TR enum type and all instances have been updated accordingly.

Additionally, the BROADCAST_ADDRESS const was introduced for additional clarity.