Revert "os init_state: add new state OSINIT_IDLELOOP"

This reverts commit 051bb32010.
This commit is contained in:
Masayuki Ishikawa
2022-02-22 17:33:14 +09:00
committed by Petro Karashchenko
parent db260593f1
commit fccdcf7011
4 changed files with 3 additions and 13 deletions
+1 -3
View File
@@ -41,7 +41,6 @@
#define OSINIT_MM_READY() (g_nx_initstate >= OSINIT_MEMORY)
#define OSINIT_HW_READY() (g_nx_initstate >= OSINIT_HARDWARE)
#define OSINIT_OS_READY() (g_nx_initstate >= OSINIT_OSREADY)
#define OSINIT_IDLELOOP() (g_nx_initstate >= OSINIT_IDLELOOP)
#define OSINIT_OS_INITIALIZING() (g_nx_initstate < OSINIT_OSREADY)
/****************************************************************************
@@ -66,9 +65,8 @@ enum nx_initstate_e
* to support the hardware are also available but
* the OS has not yet completed its full
* initialization. */
OSINIT_OSREADY = 5, /* The OS is fully initialized and multi-tasking is
OSINIT_OSREADY = 5 /* The OS is fully initialized and multi-tasking is
* active. */
OSINIT_IDLELOOP = 6 /* The OS enter idle loop */
};
/****************************************************************************