Merge pull request #298 from XPila/MK3
bug fix (cannot compile) - ultralcd.cpp - conversion from (const char*)
This commit is contained in:
commit
6f810a9548
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue