Skip to content

Commit 5d35952

Browse files
authored
Merge pull request #154 from m5stack/develop
0.2.5
2 parents e9e9e21 + e546216 commit 5d35952

4 files changed

Lines changed: 7 additions & 3 deletions

File tree

library.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
"version": ">=0.2.6"
1717
}
1818
],
19-
"version": "0.2.4",
19+
"version": "0.2.5",
2020
"frameworks": ["arduino", "espidf", "*"],
2121
"platforms": ["espressif32", "native"],
2222
"headers": "M5Unified.h"

library.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name=M5Unified
2-
version=0.2.4
2+
version=0.2.5
33
author=M5Stack
44
maintainer=M5Stack
55
sentence=Library for M5Stack/Core2/Tough/CoreS3/CoreS3SE, M5StickC/C-Plus/C-Plus2, M5CoreInk, M5Paper, M5ATOM, M5STAMP, M5Station, M5Dial, M5DinMeter, M5Capsule, M5Cardputer, M5VAMeter

src/M5Unified.hpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -237,6 +237,10 @@ namespace m5
237237

238238
static int8_t getPin(pin_name_t name) { return _get_pin_table[name]; }
239239

240+
Button_Class& getButton(size_t index) { return _buttons[index]; }
241+
242+
Button_Class& Buttons(size_t index) { return getButton(index); }
243+
240244
M5GFX& getDisplay(size_t index);
241245

242246
M5GFX& Displays(size_t index) { return getDisplay(index); }

src/gitTagVersion.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
#define M5UNIFIED_VERSION_MAJOR 0
22
#define M5UNIFIED_VERSION_MINOR 2
3-
#define M5UNIFIED_VERSION_PATCH 4
3+
#define M5UNIFIED_VERSION_PATCH 5
44
#define M5UNIFIED_VERSION F( M5UNIFIED_VERSION_MAJOR "." M5UNIFIED_VERSION_MINOR "." M5UNIFIED_VERSION_PATCH )

0 commit comments

Comments
 (0)