mirror of
https://github.com/djhackersdev/bemanitools.git
synced 2026-03-22 01:54:11 -05:00
fix bug in ddriotest neon
This commit is contained in:
parent
c9548daf8c
commit
732817c6ec
|
|
@ -217,9 +217,11 @@ int main(int argc, char **argv)
|
|||
n = scanf("%d", &state);
|
||||
|
||||
if (n > 0) {
|
||||
extio_lights |= (1 << LIGHT_NEONS);
|
||||
} else {
|
||||
extio_lights &= ~(1 << LIGHT_NEONS);
|
||||
if (state > 0) {
|
||||
extio_lights |= (1 << LIGHT_NEONS);
|
||||
} else {
|
||||
extio_lights &= ~(1 << LIGHT_NEONS);
|
||||
}
|
||||
}
|
||||
|
||||
break;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user