mirror of https://github.com/FOME-Tech/fome-fw.git
20 lines
449 B
C++
20 lines
449 B
C++
|
/*
|
||
|
* @file shutdown_controller.cpp
|
||
|
*
|
||
|
*/
|
||
|
|
||
|
#include "shutdown_controller.h"
|
||
|
#include "loggingcentral.h"
|
||
|
#include "limp_manager.h"
|
||
|
|
||
|
void doScheduleStopEngine() {
|
||
|
efiPrintf("Starting doScheduleStopEngine");
|
||
|
getLimpManager()->shutdownController.stopEngine();
|
||
|
// 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
|
||
|
}
|