Replace i2cAddress with moduleId in bridge_slave_t.

This commit is contained in:
László Monda
2017-03-17 01:46:06 +01:00
parent 02fe3b818f
commit d9ffdb6bb3
2 changed files with 5 additions and 5 deletions

View File

@@ -14,7 +14,7 @@
} bridge_slave_type_t;
typedef struct {
uint8_t i2cAddress;
uint8_t moduleId; // This is a unique, per-module ID.
bridge_slave_type_t type;
bool isConnected;
} bridge_slave_t;