From 82f5a79527441c72df470114a2c7a121e73d9be0 Mon Sep 17 00:00:00 2001 From: Robert Pelnar Date: Fri, 8 Dec 2017 19:22:02 +0100 Subject: [PATCH] bug fix (cannot compile) - ultralcd.cpp - conversion from (const char*) --- Firmware/ultralcd.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Firmware/ultralcd.cpp b/Firmware/ultralcd.cpp index c1dac0ff..35497717 100644 --- a/Firmware/ultralcd.cpp +++ b/Firmware/ultralcd.cpp @@ -6160,7 +6160,7 @@ static void menu_action_function(menuFunc_t data) { static bool check_file(const char* filename) { bool result = false; uint32_t filesize; - card.openFile(filename, true); + card.openFile((char*)filename, true); filesize = card.getFileSize(); if (filesize > END_FILE_SECTION) { card.setIndex(filesize - END_FILE_SECTION);