puuu / ESPiLight

ESPiLight - pilight 433.92 MHz protocols library for Arduino
GNU General Public License v3.0
109 stars 41 forks source link

ESPiLight.cpp: fix infinite loop on unknown protocol. #29

Closed janLo closed 6 years ago

janLo commented 6 years ago

If we give the protocol limit method a protocol name that is not supported we enter an infinite loop - finally causing the watchdog to come after us.

puuu commented 6 years ago

Thanks! Merged in 50d4adb8286d28a46df35df1ba9b659457ff3413 . New release is on the way.