mirror of
https://github.com/opentx/opentx.git
synced 2025-07-26 01:35:21 +03:00
HAPTIC is now able to work without AUDIO
New function in function switches to play an Audio track Trims can be used to modify a mixer offset. Offsets for Frsky can go from -128 to +127 Vibrations motor on v4 (HAPTIC option too)
This commit is contained in:
parent
715c5967c7
commit
3e009decfb
13 changed files with 296 additions and 224 deletions
|
@ -95,7 +95,7 @@ void menuProcSetup(uint8_t event)
|
|||
|
||||
#ifdef AUDIO
|
||||
if(s_pgOfs<subN) {
|
||||
lcd_puts_P(0, y, PSTR("Speaker Pitch"));
|
||||
lcd_puts_P(0, y, STR_SPKRPITCH);
|
||||
lcd_outdezAtt(PARAM_OFS, y, g_eeGeneral.speakerPitch,(sub==subN ? INVERS : 0)|LEFT);
|
||||
if (sub==subN) {
|
||||
CHECK_INCDEC_GENVAR(event, g_eeGeneral.speakerPitch, 0, 100);
|
||||
|
@ -106,7 +106,7 @@ void menuProcSetup(uint8_t event)
|
|||
|
||||
#ifdef HAPTIC
|
||||
if(s_pgOfs<subN) {
|
||||
lcd_puts_P(0, y, PSTR("Haptic Strength"));
|
||||
lcd_puts_P(0, y, STR_HAPTICSTRENGTH);
|
||||
lcd_outdezAtt(PARAM_OFS, y, g_eeGeneral.hapticStrength, (sub==subN ? INVERS : 0)|LEFT);
|
||||
if (sub==subN) {
|
||||
CHECK_INCDEC_GENVAR(event, g_eeGeneral.hapticStrength, 0, 5);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue