OPEnSLab-OSU/Loom-V4

Hypnos hangs when registering interrupt on occasion

Closed this issue · 2 comments

Describe the bug
Hypnos seemingly randomly hangs every once in a while trying to register a sleep interrupt
[DEBUG] [Loom_Hypnos.cpp:registerInterrupt:104] Registering interrupt...
This is the last line that gets logged before hanging, happens on some WeatherChimes hardware and some Dendrometer hardware

This is likely an issue with the initializeRTC method as small differences in the I2C bus can cause the DS3231 to hang

I believe this issue was with the LTE verifyConnection function hanging sometimes