mirror of https://github.com/rusefi/rusefi-1.git
parent
e7078a8570
commit
0f0d8f6339
|
@ -191,14 +191,12 @@ void runRusEfi(void) {
|
||||||
*/
|
*/
|
||||||
initDataStructures(PASS_ENGINE_PARAMETER_SIGNATURE);
|
initDataStructures(PASS_ENGINE_PARAMETER_SIGNATURE);
|
||||||
|
|
||||||
|
// Perform hardware initialization that doesn't need configuration
|
||||||
initHardwareNoConfig(&sharedLogger);
|
initHardwareNoConfig(&sharedLogger);
|
||||||
|
|
||||||
|
// Read configuration from flash memory
|
||||||
loadConfiguration(&sharedLogger PASS_ENGINE_PARAMETER_SUFFIX);
|
loadConfiguration(&sharedLogger PASS_ENGINE_PARAMETER_SUFFIX);
|
||||||
|
|
||||||
#if EFI_FILE_LOGGING
|
|
||||||
initMmcCard();
|
|
||||||
#endif /* EFI_FILE_LOGGING */
|
|
||||||
|
|
||||||
#if EFI_USB_SERIAL
|
#if EFI_USB_SERIAL
|
||||||
startUsbConsole();
|
startUsbConsole();
|
||||||
#endif
|
#endif
|
||||||
|
@ -217,6 +215,10 @@ void runRusEfi(void) {
|
||||||
*/
|
*/
|
||||||
initHardware();
|
initHardware();
|
||||||
|
|
||||||
|
#if EFI_FILE_LOGGING
|
||||||
|
initMmcCard();
|
||||||
|
#endif /* EFI_FILE_LOGGING */
|
||||||
|
|
||||||
#if HW_CHECK_ALWAYS_STIMULATE
|
#if HW_CHECK_ALWAYS_STIMULATE
|
||||||
// we need a special binary for final assembly check. We cannot afford to require too much software or too many steps
|
// we need a special binary for final assembly check. We cannot afford to require too much software or too many steps
|
||||||
// to be executed at the place of assembly
|
// to be executed at the place of assembly
|
||||||
|
|
Loading…
Reference in New Issue