straightening enum reuse
This commit is contained in:
parent
0e674f7eca
commit
97b1c1ff33
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
|
@ -47,7 +47,7 @@ enum class PE : uint8_t {
|
|||
MapAveragingTriggerCallback,
|
||||
AdcCallbackFastComplete,
|
||||
SingleTimerExecutorScheduleByTimestamp,
|
||||
ScheduleByAngle,
|
||||
GetTimeNowUs,
|
||||
EventQueueExecuteCallback,
|
||||
PwmGeneratorCallback,
|
||||
TunerStudioHandleCrcCommand,
|
||||
|
|
Loading…
Reference in New Issue