mirror of
https://github.com/opentx/opentx.git
synced 2025-07-19 06:15:10 +03:00
Display problem on PlayTrack function, when the user wanted to select
below 1x which is !1x - which means don't play this track at startup
This commit is contained in:
parent
59aa647c3d
commit
02bb061b1d
2 changed files with 4 additions and 4 deletions
|
@ -5128,16 +5128,16 @@ void menuModelCustomFunctions(uint8_t event)
|
||||||
#if LCD_W >= 212
|
#if LCD_W >= 212
|
||||||
lcd_putsAtt(MODEL_CUSTOM_FUNC_4TH_COLUMN+2, y, "1x", attr);
|
lcd_putsAtt(MODEL_CUSTOM_FUNC_4TH_COLUMN+2, y, "1x", attr);
|
||||||
#else
|
#else
|
||||||
lcd_putcAtt(MODEL_CUSTOM_FUNC_4TH_COLUMN_ONOFF+1, y, '-', attr);
|
lcd_putcAtt(MODEL_CUSTOM_FUNC_4TH_COLUMN_ONOFF+3, y, '-', attr);
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
#if defined(CPUARM)
|
#if defined(CPUARM)
|
||||||
else if (CFN_PLAY_REPEAT(sd) == CFN_PLAY_REPEAT_NOSTART) {
|
else if (CFN_PLAY_REPEAT(sd) == CFN_PLAY_REPEAT_NOSTART) {
|
||||||
#if LCD_W >= 212
|
#if LCD_W >= 212
|
||||||
lcd_putcAtt(MODEL_CUSTOM_FUNC_4TH_COLUMN-2, y, '!', attr);
|
lcd_putcAtt(MODEL_CUSTOM_FUNC_4TH_COLUMN-1, y, '!', attr);
|
||||||
lcd_putsAtt(MODEL_CUSTOM_FUNC_4TH_COLUMN+2, y, "1x", attr);
|
lcd_putsAtt(MODEL_CUSTOM_FUNC_4TH_COLUMN+2, y, "1x", attr);
|
||||||
#else
|
#else
|
||||||
lcd_putcAtt(MODEL_CUSTOM_FUNC_4TH_COLUMN_ONOFF+1, y, '!', attr);
|
lcd_putsAtt(MODEL_CUSTOM_FUNC_4TH_COLUMN_ONOFF, y, "!-", attr);
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -883,7 +883,7 @@ PACK(typedef struct t_CustomFnData { // Function Switches data
|
||||||
#define CFN_TIMER_INDEX(p) ((p)->all.param)
|
#define CFN_TIMER_INDEX(p) ((p)->all.param)
|
||||||
#define CFN_PLAY_REPEAT(p) ((p)->active)
|
#define CFN_PLAY_REPEAT(p) ((p)->active)
|
||||||
#define CFN_PLAY_REPEAT_MUL 1
|
#define CFN_PLAY_REPEAT_MUL 1
|
||||||
#define CFN_PLAY_REPEAT_NOSTART 0x3F
|
#define CFN_PLAY_REPEAT_NOSTART 0xFF
|
||||||
#define CFN_GVAR_MODE(p) ((p)->all.mode)
|
#define CFN_GVAR_MODE(p) ((p)->all.mode)
|
||||||
#define CFN_PARAM(p) ((p)->all.val)
|
#define CFN_PARAM(p) ((p)->all.val)
|
||||||
#define CFN_RESET(p) ((p)->active=0, (p)->clear.val1=0, (p)->clear.val2=0)
|
#define CFN_RESET(p) ((p)->active=0, (p)->clear.val1=0, (p)->clear.val2=0)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue