Jonny999999 / armchair_fw

Firmware for a homemade automated electric armchair using an esp32 controller on a custom pcb
https://pfusch.zone/electric-armchair-v2
0 stars 0 forks source link

fix ADC lock error spam at startup #34

Closed Jonny999999 closed 9 months ago

Jonny999999 commented 1 year ago

currently startup takes very long due to ADC-lock aquire error spam.

its probably best to initialize the objects in a function called from main() instead of simply in config.cpp since it currently happens at unknown time - probably too early at startup thus adc not available yet

Jonny999999 commented 9 months ago

Fixed in fab4d442e684b136d6e5c29e0830587b4298b35d due to creating all object instances in main() after the boot is completed.