Skip to content

Commit

Permalink
major fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
mc-cat-tty committed Jan 4, 2023
1 parent 0063eb2 commit b8bb72b
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions src/main_rx.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -76,14 +76,12 @@ void app_main() {
for (EVER) {
if (rxSequence.rcvdSequenceAsync()) {
logger.log(mod, ESP_LOG_INFO, "Sequence matched");
if (!animator.isRunning()) {
spinnerFw = SpinnerForwardAnimation(ledRingDemux);
animator = Animator(spinnerFw, 200_ms);
}
spinnerFw = SpinnerForwardAnimation(ledRingDemux);
animator = Animator(spinnerFw, 200_ms);
}

vTaskDelay(pdMS_TO_TICKS(1_s));
}
}

#endif // RECEIVER
#endif // RECEIVER

0 comments on commit b8bb72b

Please sign in to comment.