Fix pinmode of self driving pins

This commit is contained in:
Oliver Parczyk 2023-12-16 11:57:52 +01:00
parent 54d685f62b
commit 4c1658a3c6

View File

@ -98,7 +98,7 @@ void setup() {
// Set all in- and outputs // Set all in- and outputs
for (uint8_t i = 0; i < KEY_GROUP_NUM; i++) { for (uint8_t i = 0; i < KEY_GROUP_NUM; i++) {
pinMode(group_pins[i], INPUT); pinMode(group_pins[i], INPUT);
pinMode(self_drive_pins[i], INPUT); pinMode(self_drive_pins[i], OUTPUT);
} }
for (uint8_t i = 0; i < KEY_PINS; i++) { for (uint8_t i = 0; i < KEY_PINS; i++) {
pinMode(key_pins[i], INPUT); pinMode(key_pins[i], INPUT);