Skip to content

Commit

Permalink
Model F controllers: enable internal pull-ups on the row gpios. This …
Browse files Browse the repository at this point in the history
…is necessary for the latest batch of wcass boards manufactured by modelfkeyboards.com
  • Loading branch information
purdeaandrei committed Nov 3, 2021
1 parent 2d4aa9d commit bd705af
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/scan.c
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ void
scanInit(void)
{
memset(scanStateAndAssociatedLayer, 0x1f, sizeof(scanStateAndAssociatedLayer[0][0]) * KBD_COLS * KBD_ROWS);
#if defined(MODEL_F)
PORTC |= 0xF0;
PORTD |= 0x0F;
#endif
}

/*
Expand Down

0 comments on commit bd705af

Please sign in to comment.