main process method should not have any logic.

This commit is contained in:
2025-05-23 17:13:15 -07:00
parent efd569e4df
commit 6762549b4a

View File

@ -63,14 +63,6 @@ void Gravity::Process() {
play_button.Process();
encoder.Process();
// Call button state change handlers.
if (play_button.Change() == Button::CHANGE_PRESSED) {
play_button.OnPress();
}
if (shift_button.Change() == Button::CHANGE_PRESSED) {
shift_button.OnPress();
}
// Update Output states.
for (int i; i < OUTPUT_COUNT; i++) {
outputs[i].Process();