pycom / pycom-libraries

MicroPython libraries and examples that work out of the box on Pycom's IoT modules
333 stars 375 forks source link

pymesh: do not (re-)create LoRa instances in pymesh_config #157

Closed peter-pycom closed 2 years ago

peter-pycom commented 2 years ago

It seems there is a rare chance to end up with a frozen device at the point where the lora=LoRa() object is recreated. There is no real need to do this inside pymesh_config, so as a workaround we simply make one object only and pass the lora_mac

CLAassistant commented 2 years ago

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.