Fix default arg in lcd_goto_screen

This commit is contained in:
Scott Lahteine 2018-02-05 16:41:59 -06:00 committed by GitHub
parent b708bcf8b1
commit 8da92b6823
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -514,7 +514,7 @@ uint16_t max_display_update_time = 0;
/**
* General function to go directly to a screen
*/
void lcd_goto_screen(screenFunc_t screen, const uint32_t encoder = 0) {
void lcd_goto_screen(screenFunc_t screen, const uint32_t encoder/*=0*/) {
if (currentScreen != screen) {
#if ENABLED(DOUBLECLICK_FOR_Z_BABYSTEPPING) && ENABLED(BABYSTEPPING)