TheThingsIndustries / generic-node-se

Generic Node Sensor Edition
https://www.genericnode.com
Other
110 stars 31 forks source link

Sensors_lorawan gets stuck without debugger due to uninitialized ADC #221

Closed mcserved closed 3 years ago

mcserved commented 3 years ago

Summary:

Sensors_lorawan gets stuck when the debugger is turned off due to the ADC not being reinitialised after stop mode.

Steps to Reproduce:

  1. Set DEBUGGER_ON in sensors_lorawan to 0.

What do you see now?

The application gets stuck after the join procedure.

What do you want to see instead?

Sensors_lorawan running without getting stuck.

How do you propose to implement this?

Initialise the ADC here.

Environment:

Bare metal

What can you do yourself and what do you need help with?

All

elsalahy commented 3 years ago

This should be fixed in #208, otherwise we can re-open it