auto-sync
This commit is contained in:
parent
01cbb67f10
commit
4a24e2241c
|
@ -91,14 +91,14 @@ void StartupFuelPumping::setPumpsCounter(engine_configuration_s *engineConfigura
|
|||
if (pumpsCounter != newValue) {
|
||||
pumpsCounter = newValue;
|
||||
|
||||
if(pumpsCounter==PUMPS_TO_PRIME) {
|
||||
if (pumpsCounter == PUMPS_TO_PRIME) {
|
||||
#if EFI_PROD_CODE || EFI_SIMULATOR
|
||||
scheduleMsg(&logger, "let's squirt prime pulse %f", pumpsCounter);
|
||||
scheduleMsg(&logger, "let's squirt prime pulse %f", pumpsCounter);
|
||||
#endif
|
||||
pumpsCounter = 0;
|
||||
} else {
|
||||
#if EFI_PROD_CODE || EFI_SIMULATOR
|
||||
scheduleMsg(&logger, "setPumpsCounter %d", pumpsCounter);
|
||||
scheduleMsg(&logger, "setPumpsCounter %d", pumpsCounter);
|
||||
#endif
|
||||
|
||||
}
|
||||
|
|
|
@ -48,7 +48,10 @@ private:
|
|||
bool stopPins();
|
||||
};
|
||||
|
||||
#define PUMPS_TO_PRIME 3
|
||||
/**
|
||||
* 6 crossing over 50% TPS means pressing and releasing three times
|
||||
*/
|
||||
#define PUMPS_TO_PRIME 6
|
||||
|
||||
class StartupFuelPumping {
|
||||
public:
|
||||
|
|
Loading…
Reference in New Issue