rusefi/firmware/controllers/shutdown_controller.cpp

20 lines
431 B
C++

/*
* @file shutdown_controller.cpp
*
*/
#include "pch.h"
void doScheduleStopEngine() {
efiPrintf("Starting doScheduleStopEngine");
#if EFI_ENGINE_CONTROL
getLimpManager()->shutdownController.stopEngine();
#endif // EFI_ENGINE_CONTROL
// todo: initiate stepper motor parking
// make sure we have stored all the info
#if EFI_PROD_CODE
//todo: FIX kinetis build with this line
//backupRamFlush();
#endif // EFI_PROD_CODE
}