aboutsummaryrefslogtreecommitdiff
path: root/software/scan.ino
diff options
context:
space:
mode:
Diffstat (limited to 'software/scan.ino')
-rw-r--r--software/scan.ino2
1 files changed, 1 insertions, 1 deletions
diff --git a/software/scan.ino b/software/scan.ino
index 8711502..9feba79 100644
--- a/software/scan.ino
+++ b/software/scan.ino
@@ -18,7 +18,7 @@ unsigned char get_state_row(unsigned char row, unsigned char direction) {
}
void scan() {
- shift_state[0] = 0xff ^ (1 << scan_index);
+ shift_state[0] = (1 << scan_index);
shift_state[1] = get_state_row(scan_index, scan_direction);
update_shift_state();