fix bug in ddriotest neon

This commit is contained in:
din 2025-09-09 17:58:38 -05:00
parent c9548daf8c
commit 732817c6ec

View File

@ -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;