some code quality
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
void KomponenteA::loop() {
|
||||
this->komponenteB->loop();
|
||||
this->komponenteC->loop();
|
||||
|
||||
if (millis() - this->lastMillis < this->delayMillis)
|
||||
return;
|
||||
|
||||
this->doSomething();
|
||||
}
|
||||
Reference in New Issue
Block a user