Skip to content

Commit 3f0cd98

Browse files
committed
flash shrink
async nav function put into conditional compile to save memory
1 parent 757962d commit 3f0cd98

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

examples/CustomPrompt/CustomPrompt/CustomPrompt.ino

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,7 @@ void setup() {
9696
// delay(1000);
9797
// }
9898

99+
//NOTE: async is disabled now define MENU_ASYNC to activate it
99100
//following code is an async navigation example
100101
//its async because it does not require a known menu state
101102
//because you can indicate the zero indexed option positions separated by /

src/menu.h

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,7 @@ for correcting unsigned values validation
1919
#define RSITE_ARDUINO_MENU_SYSTEM
2020
#include <Arduino.h>
2121
#if defined(DEBUG)
22-
// #ifdef _U8G2LIB_HH
23-
//because U8G2 already uses Streaming
2422
#include <Streaming.h>
25-
// #else
26-
// #include <streamFlow.h>
27-
// #endif
2823
#endif
2924
#include "menuBase.h"
3025
#include "shadows.h"

0 commit comments

Comments
 (0)