probably better place for initial initialization

This commit is contained in:
rusefi 2019-01-05 00:46:11 -05:00
parent 4f914ba956
commit a354371bb5
1 changed files with 1 additions and 2 deletions

View File

@ -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);
/** /**