We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a150f42 commit edfa5d2Copy full SHA for edfa5d2
examples/SDCard/SDCard/SDCard.ino
@@ -22,7 +22,9 @@ using namespace Menu;
22
// and we also need to refer to `sdFolderMenu` inside the function
23
result sdFolder(eventMask event, navNode& nav, prompt &item);
24
25
+
26
// SDMenu sdFolderMenu("SD Card","/",sdFolder,enterEvent);
27
+//caching 32 file entries
28
CachedSDMenu<32> sdFolderMenu("SD Card","/",sdFolder,enterEvent);
29
30
//implementing the handler here after sdFolder is defined...
src/plugin/SDMenu.h
@@ -90,6 +90,8 @@ class FSO {
90
91
};
92
93
+//////////////////////////////////////////////////////////////////////
94
+// SD Card cached menu
95
template<typename SDC,idx_t maxSz>
96
class CachedFSO:public FSO<SDC> {
97
public:
0 commit comments