opencarecc / inpe

this is the repo for the first prototype of the opencare project
http://inpe.opencare.cc
7 stars 2 forks source link

[0.1-t03_11] adding sleep library freezes the MCU #13

Open cntlsn opened 7 years ago

cntlsn commented 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

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