feat(bw): Add inverted edit option for rotary encoder (#4401)

Co-authored-by: Peter Feerick <peter.feerick@gmail.com>
This commit is contained in:
3djc
2023-12-11 12:16:27 +10:00
committed by GitHub
co-authored by Peter Feerick
parent 912fd93014
commit f80ee2973c
36 changed files with 97 additions and 65 deletions
+5 -1
View File
@@ -930,8 +930,12 @@ PACK(struct RadioData {
char ownerRegistrationID[PXX2_LEN_REGISTRATION_ID];
#if defined(ROTARY_ENCODER_NAVIGATION) && !defined(USE_HATS_AS_KEYS)
CUST_ATTR(rotEncDirection, r_rotEncDirection, nullptr);
NOBACKUP(uint8_t rotEncMode:2);
NOBACKUP(uint8_t rotEncMode:3);
#else
NOBACKUP(uint8_t rotEncModeSpare:3 SKIP);
#endif
NOBACKUP(int8_t uartSampleMode:2); // See UartSampleModes