I am using a button to put our borons into safemode. Before entering safe mode an int is saved to eeprom to know that the button caused the safemode event. However the below code is causing the system to enter SOS. Do i need some sort of a delay between the eeprom put and the enter safemode?
attachInterrupt() is not calling that function but only hooks it up as interrupt service routine (ISR) which will be called when the respective interrupt is triggered.