         StateMachine::State::SCREENSAVER,
         enterScreensaver);
 
+    StateMachine::registerTickFunc(
+        StateMachine::State::SCAN,
+        tickScan);
+
+    StateMachine::registerEnterFunc(
+        StateMachine::State::SCAN,
+        enterScan);
+
     StateMachine::switchState(StateMachine::State::SCREENSAVER);
     #endif
 }


void enterScreensaver();
void tickScreensaver();


screens drawScreen;

        Receiver::rssiA,
        Receiver::rssiB
    );

    if (ButtonState::any())
        StateMachine::switchState(StateMachine::State::SCAN);
}


