G4lile0 / tinyGS

📡 Open Ground Station Network 🛰
GNU General Public License v3.0
987 stars 186 forks source link

Dangling `else` statement might cause a bug #101

Open pietgeursen opened 3 years ago

pietgeursen commented 3 years ago

Hey, Just reading over some of the code. Saw this dangling else

When if (ConfigManager::getInstance().getBoardConfig().L_SX127X) is true, readState(state); won't get called.

Is that desired behaviour?

pietgeursen commented 3 years ago

Also, just got some boards and got them set up so painlessly, congrats on such a polished, awesome project!