Skip to content

Commit 9518267

Browse files
committed
Merge branch 'develop'
2 parents 52f7e8a + 37a5a93 commit 9518267

File tree

7 files changed

+10
-10
lines changed

7 files changed

+10
-10
lines changed

.github/workflows/arduino-esp-v2-build-check.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ jobs:
5252

5353
strategy:
5454
fail-fast: false
55-
#max-parallel: 1
55+
max-parallel: 20
5656
matrix:
5757
platform-url:
5858
- https://espressif.github.io/arduino-esp32/package_esp32_index.json

.github/workflows/arduino-esp-v3-build-check.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ jobs:
5252

5353
strategy:
5454
fail-fast: false
55-
#max-parallel: 1
55+
max-parallel: 20
5656
matrix:
5757
platform-url:
5858
- https://espressif.github.io/arduino-esp32/package_esp32_index.json

.github/workflows/arduino-m5-build-check.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ jobs:
6060

6161
strategy:
6262
fail-fast: false
63-
# max-parallel: 1
63+
max-parallel: 20
6464
matrix:
6565
platform-url:
6666
- https://m5stack.oss-cn-shenzhen.aliyuncs.com/resource/arduino/package_m5stack_index.json
@@ -99,7 +99,7 @@ jobs:
9999
# - m5stack_unit_cams3
100100

101101
platform-version:
102-
- 2.1.2
102+
- 3.2.1
103103

104104
platform:
105105
- m5stack

.github/workflows/platformio-build-check.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ on:
1717
- 'examples/UnitUnified/**.hpp'
1818
- 'examples/UnitUnified/**.h'
1919
- 'examples/UnitUnified/**.c'
20-
- '/platformio-build-check.yml'
20+
- '**/platformio-build-check.yml'
2121
- '**platformio.ini'
2222
pull_request:
2323
paths:
@@ -50,7 +50,7 @@ jobs:
5050

5151
strategy:
5252
fail-fast: false
53-
#max-parallel: 1
53+
#max-parallel: 20
5454

5555
matrix:
5656
example:

library.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"dependencies": {
1414
"m5stack/M5UnitUnified": ">=0.1.0"
1515
},
16-
"version": "0.2.0",
16+
"version": "0.2.1",
1717
"frameworks": [
1818
"arduino"
1919
],

library.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name=M5Unit-HUB
2-
version=0.2.0
2+
version=0.2.1
33
author=M5Stack
44
maintainer=M5Stack
55
sentence=Library for M5Stack UNIT HUB using M5UnitUnified

src/unit/unit_PbHub.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313

1414
using namespace m5::utility::mmh3;
1515
using namespace m5::unit;
16+
using namespace m5::unit::types;
1617
using namespace m5::unit::pbhub;
1718
using namespace m5::unit::pbhub::command;
1819

@@ -206,8 +207,7 @@ class AdapterPbHub : public AdapterI2C {
206207
// class UnitPbHub
207208
const char UnitPbHub::name[] = "UnitPbHub";
208209
const types::uid_t UnitPbHub::uid{"UnitPbHub"_mmh3};
209-
// const types::attr_t UnitPbHub::attr{attribute::AccessI2C};
210-
const types::attr_t UnitPbHub::attr{};
210+
const types::attr_t UnitPbHub::attr{attribute::AccessI2C};
211211

212212
UnitPbHub::UnitPbHub(const uint8_t addr) : Component(addr)
213213
{

0 commit comments

Comments
 (0)