mirror of
https://github.com/sanni/cartreader.git
synced 2024-12-24 12:01:53 +01:00
Cart_Reader.ino: make myDir a variable local to fileBrowser.
It is not used anywhere else.
This commit is contained in:
parent
d7bbc59607
commit
dc9ee3b01e
@ -176,7 +176,6 @@ char ver[5] = "10.4";
|
||||
// SD Card
|
||||
#include "SdFat.h"
|
||||
SdFs sd;
|
||||
FsFile myDir;
|
||||
FsFile myFile;
|
||||
#ifdef global_log
|
||||
FsFile myLog;
|
||||
@ -2972,6 +2971,8 @@ void wait_encoder() {
|
||||
void fileBrowser(const __FlashStringHelper* browserTitle) {
|
||||
char fileNames[7][FILENAME_LENGTH];
|
||||
int currFile;
|
||||
FsFile myDir;
|
||||
|
||||
filebrowse = 1;
|
||||
|
||||
// Root
|
||||
|
Loading…
Reference in New Issue
Block a user