Modernize the code a bit, clean up most compilation warnings

This commit is contained in:
Lorow
2025-05-18 17:33:05 +02:00
parent 0635bbd5c2
commit 4f0ab541cb
26 changed files with 329 additions and 383 deletions

View File

@@ -3,7 +3,7 @@
void OpenIrisTasks::ScheduleRestart(int milliseconds)
{
taskYIELD();
int initialTime = Helpers::getTimeInMillis();
const auto initialTime = Helpers::getTimeInMillis();
while (Helpers::getTimeInMillis() - initialTime <= milliseconds)
{
continue;