1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-07-10 04:22:05 +03:00

Move cont_init from ram to flash (#4384)

This commit is contained in:
Kyle Fleming
2018-03-31 15:32:34 -07:00
committed by Develo
parent 241531aa4c
commit 212a829942

View File

@ -25,7 +25,7 @@
#define CONT_STACKGUARD 0xfeefeffe
void ICACHE_RAM_ATTR cont_init(cont_t* cont) {
void cont_init(cont_t* cont) {
cont->stack_guard1 = CONT_STACKGUARD;
cont->stack_guard2 = CONT_STACKGUARD;
cont->stack_end = cont->stack + (sizeof(cont->stack) / 4);