mirror of
https://github.com/C0ntroller/keyboard.git
synced 2024-11-22 22:44:49 +01:00
Fix pinmode of self driving pins
This commit is contained in:
parent
54d685f62b
commit
4c1658a3c6
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user