readability
This commit is contained in:
parent
4cbaddcc60
commit
6d3a6dc2f8
|
@ -370,7 +370,7 @@ bool noFiringUntilVvtSync(vvt_mode_e vvtMode) {
|
|||
* This is the main trigger event handler.
|
||||
* Both injection and ignition are controlled from this method.
|
||||
*/
|
||||
void mainTriggerCallback(uint32_t trgEventIndex, efitick_t edgeTimestamp, float currentPhase, float nextPhase) {
|
||||
void mainTriggerCallback(uint32_t trgEventIndex, efitick_t edgeTimestamp, angle_t currentPhase, angle_t nextPhase) {
|
||||
ScopePerf perf(PE::MainTriggerCallback);
|
||||
|
||||
#if ! HW_CHECK_MODE
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
|
||||
#include "event_registry.h"
|
||||
|
||||
void mainTriggerCallback(uint32_t trgEventIndex, efitick_t edgeTimestamp, float currentPhase, float nextPhase);
|
||||
void mainTriggerCallback(uint32_t trgEventIndex, efitick_t edgeTimestamp, angle_t currentPhase, angle_t nextPhase);
|
||||
bool noFiringUntilVvtSync(vvt_mode_e vvtMode);
|
||||
|
||||
void startSimultaneousInjection(void* = nullptr);
|
||||
|
|
|
@ -741,7 +741,7 @@ void TriggerCentral::handleShaftSignal(trigger_event_e signal, efitick_t timesta
|
|||
|
||||
// TODO: is this logic to compute next trigger tooth angle correct?
|
||||
auto nextToothIndex = triggerIndexForListeners;
|
||||
float nextPhase = 0;
|
||||
angle_t nextPhase = 0;
|
||||
|
||||
do {
|
||||
// I don't love this.
|
||||
|
|
Loading…
Reference in New Issue