straightening enum reuse

This commit is contained in:
rusefi 2019-12-10 21:18:35 -05:00
parent 0e674f7eca
commit 97b1c1ff33
2 changed files with 2 additions and 2 deletions

View File

@ -207,7 +207,7 @@ static Overflow64Counter halTime;
*/
//todo: macro to save method invocation
efitimeus_t getTimeNowUs(void) {
ScopePerf perf(PE::ScheduleByAngle);
ScopePerf perf(PE::GetTimeNowUs);
return getTimeNowNt() / (CORE_CLOCK / 1000000);
}

View File

@ -47,7 +47,7 @@ enum class PE : uint8_t {
MapAveragingTriggerCallback,
AdcCallbackFastComplete,
SingleTimerExecutorScheduleByTimestamp,
ScheduleByAngle,
GetTimeNowUs,
EventQueueExecuteCallback,
PwmGeneratorCallback,
TunerStudioHandleCrcCommand,