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
|
// SD Card
|
||||||
#include "SdFat.h"
|
#include "SdFat.h"
|
||||||
SdFs sd;
|
SdFs sd;
|
||||||
FsFile myDir;
|
|
||||||
FsFile myFile;
|
FsFile myFile;
|
||||||
#ifdef global_log
|
#ifdef global_log
|
||||||
FsFile myLog;
|
FsFile myLog;
|
||||||
@ -2972,6 +2971,8 @@ void wait_encoder() {
|
|||||||
void fileBrowser(const __FlashStringHelper* browserTitle) {
|
void fileBrowser(const __FlashStringHelper* browserTitle) {
|
||||||
char fileNames[7][FILENAME_LENGTH];
|
char fileNames[7][FILENAME_LENGTH];
|
||||||
int currFile;
|
int currFile;
|
||||||
|
FsFile myDir;
|
||||||
|
|
||||||
filebrowse = 1;
|
filebrowse = 1;
|
||||||
|
|
||||||
// Root
|
// Root
|
||||||
|
Loading…
Reference in New Issue
Block a user