fome-fw/firmware/controllers/shutdown_controller.cpp

18 lines
379 B
C++
Raw Normal View History

2022-09-28 19:42:08 -07:00
/*
* @file shutdown_controller.cpp
*
*/
#include "pch.h"
2022-09-28 19:42:08 -07:00
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
}