File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -2158,6 +2158,7 @@ void jsiIdle() {
2158
2158
}
2159
2159
if ((s & JSIS_TODO_FLASH_LOAD ) == JSIS_TODO_FLASH_LOAD ) {
2160
2160
JsVar * filenameVar = jsvObjectGetChild (execInfo .hiddenRoot ,JSI_LOAD_CODE_NAME ,0 );
2161
+ // TODO: why can't we follow the same steps here for both?
2161
2162
if (filenameVar ) {
2162
2163
JsfFileName filename = jsfNameFromVarAndUnLock (filenameVar );
2163
2164
// no need to jsvObjectRemoveChild as we're shutting down anyway!
Original file line number Diff line number Diff line change @@ -155,7 +155,7 @@ typedef enum {
155
155
JSIS_COMPLETELY_RESET = 1 <<11 , ///< Has the board powered on, having not loaded anything from flash
156
156
157
157
JSIS_ECHO_OFF_MASK = JSIS_ECHO_OFF |JSIS_ECHO_OFF_FOR_LINE ,
158
- JSIS_SOFTINIT_MASK = JSIS_PASSWORD_PROTECTED |JSIS_WATCHDOG_AUTO // stuff that DOESN'T get reset on softinit
158
+ JSIS_SOFTINIT_MASK = JSIS_PASSWORD_PROTECTED |JSIS_WATCHDOG_AUTO | JSIS_TODO_MASK // stuff that DOESN'T get reset on softinit
159
159
// watchdog can't be reset without a reboot so if it's set to auto we must keep it as auto
160
160
} PACKED_FLAGS JsiStatus ;
161
161
You can’t perform that action at this time.
0 commit comments