Add missing mcuconf.h and halconf.h to onekey:joystick keymap.

Add suggested fixes from PR.
This commit is contained in:
a-chol 2020-03-30 11:19:23 +02:00
parent 0ce015d0c9
commit 476fce8a32
6 changed files with 813 additions and 15 deletions

View file

@ -25,9 +25,9 @@
{ OUTPUT_PIN, INPUT_PIN, GROUND_PIN, LOW, REST, HIGH }
typedef struct {
uint32_t output_pin;
uint32_t input_pin;
uint32_t ground_pin;
pin_t output_pin;
pin_t input_pin;
pin_t ground_pin;
// the AVR ADC offers 10 bit precision, with significant bits on the higher part
uint16_t min_digit;