Skip to content

Commit edfa5d2

Browse files
committed
cosmetics
1 parent a150f42 commit edfa5d2

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

examples/SDCard/SDCard/SDCard.ino

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,9 @@ using namespace Menu;
2222
// and we also need to refer to `sdFolderMenu` inside the function
2323
result sdFolder(eventMask event, navNode& nav, prompt &item);
2424

25+
2526
// SDMenu sdFolderMenu("SD Card","/",sdFolder,enterEvent);
27+
//caching 32 file entries
2628
CachedSDMenu<32> sdFolderMenu("SD Card","/",sdFolder,enterEvent);
2729

2830
//implementing the handler here after sdFolder is defined...

src/plugin/SDMenu.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,8 @@ class FSO {
9090

9191
};
9292

93+
//////////////////////////////////////////////////////////////////////
94+
// SD Card cached menu
9395
template<typename SDC,idx_t maxSz>
9496
class CachedFSO:public FSO<SDC> {
9597
public:

0 commit comments

Comments
 (0)