ExpressLRS / Backpack

Firmware for ExpressLRS compatible backpacks
GNU General Public License v3.0
100 stars 73 forks source link

Properly init the MSP frame state when creating the MSP class #62

Closed wvarty closed 2 years ago

pkendall64 commented 2 years ago

It's not actually broken, it will be initialised to zero, which is the value of MSP_IDLE anyway, but stylistically it's a much cleaner and clearer. I really think we need some static analysis and a good code style!