Skip to content

Commit fd83b70

Browse files
committed
webmenu needed defines
1 parent 084281b commit fd83b70

File tree

3 files changed

+9
-4
lines changed

3 files changed

+9
-4
lines changed

examples/esp8266/WebMenu/platformio.ini

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,9 @@ board = esp12e
2727
framework = arduino
2828
upload_speed=921600
2929
build_flags =
30-
-DMENU_ASYNC
31-
-DMENU_FMT_WRAPS
32-
-DMENU_IDLE_BKGND
30+
; -DMENU_ASYNC
31+
; -DMENU_FMT_WRAPS
32+
; -DMENU_IDLE_BKGND
3333
-DNO_MENU_DEBUG
3434
-DNO_WEB_DEBUG
3535
-DMENU_SSID="\"r-site.net\"" -DMENU_PASS="\"rsite.2011\""

library.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name=ArduinoMenu library
2-
version=4.17.8
2+
version=4.17.9
33
author=Rui Azevedo, [email protected]
44
maintainer=neu-rah, [email protected]
55
sentence=Generic menu/interactivity system

src/macros.h

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,11 @@
88
#ifndef __AVR_ARCH__
99
#define MENU_USERAM
1010
#endif
11+
#if defined(ESP8266)
12+
#define MENU_ASYNC
13+
#define MENU_FMT_WRAPS
14+
#define MENU_IDLE_BKGND
15+
#endif
1116
#if defined(ESP8266) | defined(CORE_TEENSY)
1217
#define typeof(x) __typeof__(x)
1318
#endif

0 commit comments

Comments
 (0)