refined a bit

This commit is contained in:
Jack Humbert
2019-06-02 16:42:36 -04:00
parent 208bee10f2
commit 474d100b56
5 changed files with 127 additions and 104 deletions

View File

@ -51,6 +51,9 @@
#undef AUDIO_VOICES
#undef C6_AUDIO
#define A5_AUDIO
#define DAC_OFF_VALUE 4095
/* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */
#define DEBOUNCE 6

View File

@ -51,6 +51,8 @@
#undef AUDIO_VOICES
#undef C6_AUDIO
#define A5_AUDIO
/* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */
#define DEBOUNCE 6

View File

@ -16,7 +16,9 @@
#include "rev6.h"
void matrix_init_kb(void) {
matrix_init_user();
palSetPadMode(GPIOA, 4, PAL_MODE_OUTPUT_PUSHPULL );
palSetPad(GPIOA, 4);
matrix_init_user();
}
void matrix_scan_kb(void) {

File diff suppressed because it is too large Load Diff

View File

@ -141,8 +141,8 @@
#define STM32_GPT_USE_TIM3 FALSE
#define STM32_GPT_USE_TIM4 FALSE
#define STM32_GPT_USE_TIM6 TRUE
#define STM32_GPT_USE_TIM7 TRUE
#define STM32_GPT_USE_TIM8 TRUE
#define STM32_GPT_USE_TIM7 FALSE
#define STM32_GPT_USE_TIM8 FALSE
#define STM32_GPT_TIM1_IRQ_PRIORITY 7
#define STM32_GPT_TIM2_IRQ_PRIORITY 7
#define STM32_GPT_TIM3_IRQ_PRIORITY 7