Clear menu history for browse media on insert (#20236)

Co-authored-by: Scott Lahteine <github@thinkyhead.com>
This commit is contained in:
qwewer0
2020-11-22 01:21:43 +01:00
committed by GitHub
parent 89b56ca5c2
commit e19c016c74
4 changed files with 5 additions and 3 deletions

View File

@@ -249,3 +249,6 @@ void _lcd_draw_homing();
#if ENABLED(TOUCH_SCREEN_CALIBRATION)
void touch_screen_calibration();
#endif
extern uint8_t screen_history_depth;
inline void clear_menu_history() { screen_history_depth = 0; }