Calling deep sleep mode in timer functions flashes red


#1

calling System.sleep(SLEEP_MODE_DEEP,60); in timer functions causes flashing red in electron

are there any conditions as not to call system functions in timer functions?

can anyone help me