aboutsummaryrefslogtreecommitdiff
path: root/examples/io/system573/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'examples/io/system573/main.c')
-rw-r--r--examples/io/system573/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/io/system573/main.c b/examples/io/system573/main.c
index 64722d7..3404ee4 100644
--- a/examples/io/system573/main.c
+++ b/examples/io/system573/main.c
@@ -207,7 +207,7 @@ int main(int argc, const char* argv[]) {
// Change the currently active light if the test button on the 573's
// front panel is pressed. DDR non-light outputs are skipped.
- if ((last_inputs & JAMMA_TEST) && !(inputs & JAMMA_TEST)) {
+ if (!(last_inputs & JAMMA_TEST) && (inputs & JAMMA_TEST)) {
current_light++;
if (
(current_light == 4) || // DDR_LIGHT_P1_MUX_DATA