Replaces the seconds and minute procs with the defines

This commit is contained in:
joep van der velden
2020-06-25 23:06:00 +02:00
parent 057a618f03
commit 0971bbedb6
8 changed files with 25 additions and 31 deletions
+1 -1
View File
@@ -90,7 +90,7 @@ SUBSYSTEM_DEF(events)
if(E.isRunning)
message += "and is still running."
else
if(E.endedAt - E.startedAt > MinutesToTicks(5)) // Only mention end time if the entire duration was more than 5 minutes
if(E.endedAt - E.startedAt > 5 MINUTES) // Only mention end time if the entire duration was more than 5 minutes
message += "and ended at [station_time_timestamp("hh:mm:ss", E.endedAt)]."
else
message += "and ran to completion."