feat: option to disable power on/off haptic (#5017)

This commit is contained in:
Peter Feerick
2024-06-09 11:13:26 +10:00
committed by GitHub
parent 2c800c0f3c
commit 42153fbb84
41 changed files with 1182 additions and 1046 deletions
+5 -3
View File
@@ -970,13 +970,15 @@ PACK(struct RadioData {
NOBACKUP(uint8_t disableTrainerPoweroffAlarm:1);
NOBACKUP(uint8_t disablePwrOnOffHaptic:1);
#if defined(COLORLCD)
NOBACKUP(uint8_t space:7 SKIP);
NOBACKUP(uint8_t spare:6 SKIP);
#elif LCD_W == 128
uint8_t invertLCD:1; // Invert B&W LCD display
NOBACKUP(uint8_t spare:4 SKIP);
NOBACKUP(uint8_t spare:3 SKIP);
#else
NOBACKUP(uint8_t spare:5 SKIP);
NOBACKUP(uint8_t spare:4 SKIP);
#endif
NOBACKUP(uint8_t getBrightness() const