diff --git a/src/general_menus.cpp b/src/general_menus.cpp index a9131ac35..1fc07a6fc 100644 --- a/src/general_menus.cpp +++ b/src/general_menus.cpp @@ -84,6 +84,7 @@ enum menuProcSetupItems { #ifdef HAPTIC ITEM_SETUP_HAPTIC_MODE, ITEM_SETUP_HAPTIC_STRENGTH, + ITEM_SETUP_HAPTIC_LENGTH, #endif #ifdef SPLASH ITEM_SETUP_SPLASH, @@ -107,7 +108,7 @@ void menuProcSetup(uint8_t event) #define AUDIO_ZEROS #endif #ifdef HAPTIC -#define HAPTIC_ZEROS 0, 0, +#define HAPTIC_ZEROS 0, 0, 0, #else #define HAPTIC_ZEROS #endif @@ -196,7 +197,7 @@ void menuProcSetup(uint8_t event) }subN++; if(s_pgOfs7*FH) return; diff --git a/src/o9xstrings.cpp b/src/o9xstrings.cpp index 95380323f..caed01e4e 100644 --- a/src/o9xstrings.cpp +++ b/src/o9xstrings.cpp @@ -158,6 +158,7 @@ const pm_char STR_SPKRPITCH[] PROGMEM = TR_SPKRPITCH; #if defined(HAPTIC) const pm_char STR_HAPTICMODE[] PROGMEM = TR_HAPTICMODE; const pm_char STR_HAPTICSTRENGTH[] PROGMEM = TR_HAPTICSTRENGTH; +const pm_char STR_HAPTICLENGTH[] PROGMEM = TR_HAPTICLENGTH; #endif const pm_char STR_CONTRAST[] PROGMEM = TR_CONTRAST; const pm_char STR_BATTERYWARNING[] PROGMEM = TR_BATTERYWARNING; diff --git a/src/o9xstrings.h b/src/o9xstrings.h index be4f25199..74c687238 100644 --- a/src/o9xstrings.h +++ b/src/o9xstrings.h @@ -242,6 +242,7 @@ extern const pm_char STR_BEEPERLEN[]; extern const pm_char STR_SPKRPITCH[]; extern const pm_char STR_HAPTICMODE[]; extern const pm_char STR_HAPTICSTRENGTH[]; +extern const pm_char STR_HAPTICLENGTH[]; extern const pm_char STR_CONTRAST[]; extern const pm_char STR_BATTERYWARNING[]; extern const pm_char STR_INACTIVITYALARM[];