Skip to content

Commit d209a73

Browse files
committed
menu version rev as macros
constexpr cant be used for includes and global conditional compile...
1 parent b94ca5f commit d209a73

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

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.4.8
2+
version=4.4.9
33
author=Rui Azevedo, [email protected]
44
maintainer=neu-rah, [email protected]
55
sentence=AVR generic menu/interactivity system

src/menuBase.h

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,10 @@ www.r-site.net
3232

3333
#define _MAX(a,b) (((a)>(b))?(a):(b))
3434

35-
namespace Menu {
36-
constexpr int menuVersion[3]{4,4,8};
35+
#define MENU_VERSION 4
36+
#define MENU_REVISION 4.9
3737

38+
namespace Menu {
3839
//menu structure objects
3940
class menuIn;
4041
class menuOut;

0 commit comments

Comments
 (0)