Rename `obThreadIdle` to `nuThreadIdle`
This commit is contained in:
parent
a8f58de733
commit
ff290348c5
|
|
@ -320,7 +320,6 @@ extern void obMain(void*);
|
|||
extern OSThread obThreadMain;
|
||||
// extern u8 obStackMain[];
|
||||
|
||||
extern OSThread obThreadIdle;
|
||||
extern u8 obStackIdle[];
|
||||
|
||||
extern OverlaySomething __OVERLAY_INFO_resets_menu_timer;
|
||||
|
|
|
|||
|
|
@ -26,6 +26,7 @@ nuGfxDisplay = 0x800C4BD8;
|
|||
nuSiMesgQ = 0x800E9B88;
|
||||
nuSiMesgBuf = 0x800BBE60;
|
||||
siMgrThread = 0x800BBE80;
|
||||
nuThreadIdle = 0x800AF440;
|
||||
|
||||
nuBoot = 0x8007F880;
|
||||
nuScCreateScheduler = 0x80088C50; // rom:0x19050
|
||||
|
|
@ -1002,7 +1003,6 @@ __virtual_mem_alloc = 0x80070F30;
|
|||
|
||||
|
||||
|
||||
obThreadIdle = 0x800AF440;
|
||||
obStackIdle = 0x800B17A0;
|
||||
|
||||
obMain = 0x80071EB0;
|
||||
|
|
|
|||
|
|
@ -3,13 +3,14 @@
|
|||
#include "nu/nusys.h"
|
||||
|
||||
extern u8 obStackMain[];
|
||||
extern OSThread nuThreadIdle;
|
||||
|
||||
void nuIdle(void* arg);
|
||||
|
||||
void nuBoot(void) {
|
||||
osInitialize();
|
||||
osCreateThread(&obThreadIdle, 1, nuIdle, NULL, obStackIdle, 0xA);
|
||||
osStartThread(&obThreadIdle);
|
||||
osCreateThread(&nuThreadIdle, 1, nuIdle, NULL, obStackIdle, 0xA);
|
||||
osStartThread(&nuThreadIdle);
|
||||
}
|
||||
|
||||
void nuIdle(void* arg) {
|
||||
|
|
@ -23,7 +24,7 @@ void nuIdle(void* arg) {
|
|||
osCreateThread(&obThreadMain, 3, obMain, NULL, obStackMain, 0xA);
|
||||
osStartThread(&obThreadMain);
|
||||
|
||||
osSetThreadPri(&obThreadIdle, OS_PRIORITY_IDLE);
|
||||
osSetThreadPri(&nuThreadIdle, OS_PRIORITY_IDLE);
|
||||
|
||||
while(1) {
|
||||
if (nuIdleFunc != NULL)
|
||||
|
|
|
|||
Loading…
Reference in New Issue