Fix comment typo in pico_rgb_keyboard

the ^ operator is a bitwise XOR not OR
pull/203/head
Marijn Besseling 2021-09-08 19:34:35 +02:00 zatwierdzone przez GitHub
rodzic 3c3b29cfc0
commit 5737228cd4
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -44,7 +44,7 @@ int main() {
// for any pressed buttons set the corresponding bit in "lit_buttons"
lit_buttons |= pico_keypad.get_button_states();
// You could use a bitwise OR (^) to make the buttons toggle their respective "lit" bits on and off:
// You could use a bitwise XOR (^) to make the buttons toggle their respective "lit" bits on and off:
// lit_buttons ^= pico_keypad.get_button_states();
// Iterate through the lights