From ca62a08c7c1b98c6205391069c98302025c178e5 Mon Sep 17 00:00:00 2001 From: gijs Date: Fri, 20 Oct 2023 18:05:37 +0200 Subject: [PATCH] Rename `__start_controller_thread` to `nuSiMgrRestart` --- linker_scripts/symbols/addr.txt | 2 +- src/_ob_icy_coast.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/linker_scripts/symbols/addr.txt b/linker_scripts/symbols/addr.txt index 3daf996..8a10e23 100644 --- a/linker_scripts/symbols/addr.txt +++ b/linker_scripts/symbols/addr.txt @@ -60,6 +60,7 @@ nuSiMgrInit = 0x80089C60; nuSiMgrThread = 0x80089D9C; nuSiSendMesg = 0x80089CF8; nuSiMgrStop = 0x80089D5C; +nuSiMgrRestart = 0x80089D7C; obCurrentTime = 0x800C47D0; @@ -976,7 +977,6 @@ romCopy_512 = 0x80089F80; __GLOBAL_CONTROLLER_DATA = 0x0800C4BF0; // size:0x18 __GLOBAL_CONTROLLER_DATA_COPY = 0x0800AEE78; // size:0x18 -__start_controller_thread = 0x80089D7C; __calls_copy_controller_data = 0x8007297C; __copy_global_controller_data = 0x8008A600; __start_copy_global_controller_data = 0x8008A354; diff --git a/src/_ob_icy_coast.c b/src/_ob_icy_coast.c index e1b5ac9..6793314 100644 --- a/src/_ob_icy_coast.c +++ b/src/_ob_icy_coast.c @@ -40,7 +40,7 @@ void nuSiMgrStop(void) { nuSiSendMesg(NU_SI_STOP_MGR_MSG, NULL); } -void __start_controller_thread(void) { +void nuSiMgrRestart(void) { osStartThread(&siMgrThread); }