Skip to content

Commit 030508d

Browse files
committed
Fixes missing attribute
1 parent aeeb897 commit 030508d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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)