probably better place for initial initialization
This commit is contained in:
parent
4f914ba956
commit
a354371bb5
|
@ -163,6 +163,7 @@ static void scheduleReboot(void) {
|
||||||
void runRusEfi(void) {
|
void runRusEfi(void) {
|
||||||
efiAssertVoid(CUSTOM_RM_STACK_1, getRemainingStack(chThdGetSelfX()) > 512, "init s");
|
efiAssertVoid(CUSTOM_RM_STACK_1, getRemainingStack(chThdGetSelfX()) > 512, "init s");
|
||||||
assertEngineReference();
|
assertEngineReference();
|
||||||
|
engine->setConfig(config);
|
||||||
initIntermediateLoggingBuffer();
|
initIntermediateLoggingBuffer();
|
||||||
initErrorHandling();
|
initErrorHandling();
|
||||||
|
|
||||||
|
@ -197,8 +198,6 @@ void runRusEfi(void) {
|
||||||
*/
|
*/
|
||||||
initializeConsole(&sharedLogger);
|
initializeConsole(&sharedLogger);
|
||||||
|
|
||||||
engine->setConfig(config);
|
|
||||||
|
|
||||||
addConsoleAction("reboot", scheduleReboot);
|
addConsoleAction("reboot", scheduleReboot);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue