chore(hal): streamline rotary encoder definitions (#2550)

This commit is contained in:
Raphael Coeffic
2022-11-15 19:13:54 +10:00
committed by GitHub
parent ab5d4f0e20
commit f7d7ec2070
3 changed files with 12 additions and 2 deletions
+4
View File
@@ -92,6 +92,10 @@
#define ROTARY_ENCODER_TIMER_IRQn TIM4_IRQn
#define ROTARY_ENCODER_TIMER_IRQHandler TIM4_IRQHandler
#if defined(RADIO_FAMILY_T16) && !defined(RADIO_T18)
#define ROTARY_ENCODER_SUPPORT_BUGGY_WIRING
#endif
// Switches
#define STORAGE_SWITCH_A
#define HARDWARE_SWITCH_A