wendehals / arduino_sct_tools

YAKINDU Statechart Tools for Arduino
https://wendehals.github.io/arduino_sct_tools/
Eclipse Public License 1.0
21 stars 4 forks source link

Code generation for ESP8266 defect #2

Closed wendehals closed 7 years ago

wendehals commented 7 years ago

Return value invalid.

uint8_t StateMachineConnector::prepareSleepMode() { // Some of the functions of <avr/power.h> may not be supported by the // actual microprocessor you are using. // This method is only called in case you are using an AVR hardware timer. // e.g. // power_adc_disable(); // power_spi_disable(); // power_timer0_disable(); // power_timer1_disable() ; // power_timer2_disable() ; // power_timer3_disable() ; // power_twi_disable(); // power_usart0_disable(); // power_usb_disable();

return SLEEP_MODE_IDLE;

}