Merge branch 'dev' of git.h3cx.dev:Exergie/NeoECU-Firmware into dev
This commit is contained in:
@@ -81,6 +81,9 @@ void crankHandler(void *argument) {
|
||||
// TODO: schedule spark
|
||||
// __HAL_TIM_SET_COMPARE(&htim2, TIM_CHANNEL_3, t_spark);
|
||||
// TIM2_CH3_SetOCMode(t_spark);
|
||||
} else if (state_g.crank_state == CYCLE_EXHAUST) {
|
||||
uint32_t t_injection = CRANK(0) + (45+INJECTION_PHASE) * (CRANK(4) - CRANK(0)) / 720;
|
||||
//TODO Schedule injection
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user