aboutsummaryrefslogtreecommitdiff
path: root/examples/io/system573/main.c
diff options
context:
space:
mode:
authorspicyjpeg <88942473+spicyjpeg@users.noreply.github.com>2022-06-27 22:18:11 +0200
committerspicyjpeg <88942473+spicyjpeg@users.noreply.github.com>2022-06-27 22:18:11 +0200
commitef776e728cfa67fbca38bb375152b336fa0b5200 (patch)
tree4eea0faf910d2671446c3f1ff1b9714d23e53cb7 /examples/io/system573/main.c
parentf56ade9b10c7c2d37f1b0af9191560cd5f0295b4 (diff)
downloadpsn00bsdk-ef776e728cfa67fbca38bb375152b336fa0b5200.tar.gz
Clean up io/system573 example and libpsxpress
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