Skip to content

Commit 6d4d148

Browse files
committed
Fixes for M5UnitUnified 0.1.0 or later
1 parent aef26f4 commit 6d4d148

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/unit/unit_ATECC608B.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ namespace unit {
4949
// class UnitATECC608B
5050
const char UnitATECC608B::name[] = "UnitATECC608B";
5151
const types::uid_t UnitATECC608B::uid{"UnitATECC608B"_mmh3};
52-
const types::attr_t UnitATECC608B::attr{0};
52+
const types::attr_t UnitATECC608B::attr{attribute::AccessI2C};
5353

5454
bool UnitATECC608B::begin()
5555
{

src/unit/unit_ATECC608B_TNGTLS.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@ namespace unit {
231231
// class UnitATECC608B_TNGTLS
232232
const char UnitATECC608B_TNGTLS::name[] = "UnitATECC608B_TNGTLS";
233233
const types::uid_t UnitATECC608B_TNGTLS::uid{"UnitATECC608B_TNGTLS"_mmh3};
234-
const types::attr_t UnitATECC608B_TNGTLS::attr{0};
234+
const types::attr_t UnitATECC608B_TNGTLS::attr{attribute::AccessI2C};
235235

236236
bool UnitATECC608B_TNGTLS::begin_impl()
237237
{

0 commit comments

Comments
 (0)