Browse Source

Increase tick frequency for responsiveness

Based off of PR #866 which did the same thing for the infinity60
pull/987/head
Kaleb Elwert 7 years ago
parent
commit
a702f4631e
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      keyboards/whitefox/chconf.h
  2. +1
    -1
      keyboards/whitefox/matrix.c

+ 1
- 1
keyboards/whitefox/chconf.h View File

@ -48,7 +48,7 @@
* @details Frequency of the system timer that drives the system ticks. This
* setting also defines the system tick time unit.
*/
#define CH_CFG_ST_FREQUENCY 1000
#define CH_CFG_ST_FREQUENCY 100000
/**
* @brief Time delta constant for the tick-less mode.


+ 1
- 1
keyboards/whitefox/matrix.c View File

@ -69,7 +69,7 @@ uint8_t matrix_scan(void)
case 8: palSetPad(GPIOC, 11); break;
}
wait_us(1); // need wait to settle pin state
wait_us(10); // need wait to settle pin state
// read col data: { PTD0, PTD1, PTD4, PTD5, PTD6, PTD7, PTC1, PTC2 }
data = ((palReadPort(GPIOC) & 0x06UL) << 5) |


Loading…
Cancel
Save