Fix sound mode [assist]: encoder clicking indefinitely when MMU wants to
select filament
This commit is contained in:
parent
6aaa40b9a3
commit
1a1be5c518
|
|
@ -3,10 +3,10 @@
|
|||
#define SOUND_H
|
||||
|
||||
|
||||
#define MSG_SOUND_MODE_LOUD "Sound [loud]"
|
||||
#define MSG_SOUND_MODE_ONCE "Sound [once]"
|
||||
#define MSG_SOUND_MODE_LOUD "Sound [loud]"
|
||||
#define MSG_SOUND_MODE_ONCE "Sound [once]"
|
||||
#define MSG_SOUND_MODE_SILENT "Sound [silent]"
|
||||
#define MSG_SOUND_MODE_BLIND "Sound [blind]"
|
||||
#define MSG_SOUND_MODE_BLIND "Sound [assist]"
|
||||
|
||||
|
||||
#define e_SOUND_MODE_NULL 0xFF
|
||||
|
|
|
|||
|
|
@ -5902,6 +5902,7 @@ uint8_t choose_menu_P(const char *header, const char *item, const char *last_ite
|
|||
cursor_pos++;
|
||||
}
|
||||
enc_dif = lcd_encoder_diff;
|
||||
Sound_MakeSound(e_SOUND_TYPE_EncoderMove);
|
||||
}
|
||||
|
||||
if (cursor_pos > 3)
|
||||
|
|
@ -5952,7 +5953,6 @@ uint8_t choose_menu_P(const char *header, const char *item, const char *last_ite
|
|||
lcd_print(" ");
|
||||
lcd_set_cursor(0, cursor_pos);
|
||||
lcd_print(">");
|
||||
Sound_MakeSound(e_SOUND_TYPE_EncoderMove);
|
||||
_delay(100);
|
||||
|
||||
if (lcd_clicked())
|
||||
|
|
|
|||
Loading…
Reference in New Issue