some code quality

This commit is contained in:
2023-08-14 07:11:03 +02:00
parent 38c8a58988
commit 147eea1f92
4 changed files with 18 additions and 2 deletions
+9
View File
@@ -0,0 +1,9 @@
void KomponenteA::loop() {
this->komponenteB->loop();
this->komponenteC->loop();
if (millis() - this->lastMillis < this->delayMillis)
return;
this->doSomething();
}