Open cntlsn opened 7 years ago
when adding the sleep library (https://github.com/opencarecc/inpe/tree/0.1-t03_10/software/utilities/Sleep_Library) to https://github.com/opencarecc/inpe/blob/0.1-t03_10/software/inpe-t03_010/inpe-t03_010.ino the system freezes when entering sys_sleep_in_callback
sys_sleep_in_callback
commenting all the functions inside sys_sleep_in_callback will still make the system freeze. I think it has to do with VM_TIMER_ID_PRECISE used also inside https://github.com/opencarecc/inpe/blob/0.1-t03_10/software/inpe-t03_010/sensor_loop.cpp
VM_TIMER_ID_PRECISE
when adding the sleep library (https://github.com/opencarecc/inpe/tree/0.1-t03_10/software/utilities/Sleep_Library) to https://github.com/opencarecc/inpe/blob/0.1-t03_10/software/inpe-t03_010/inpe-t03_010.ino the system freezes when entering
sys_sleep_in_callback
commenting all the functions inside
sys_sleep_in_callback
will still make the system freeze. I think it has to do withVM_TIMER_ID_PRECISE
used also inside https://github.com/opencarecc/inpe/blob/0.1-t03_10/software/inpe-t03_010/sensor_loop.cpp