Skip to content

Commit

Permalink
Merge pull request #5 from arendst/development
Browse files Browse the repository at this point in the history
Update andrethomas/Sonoff-Tasmota from arendst/Sonoff-Tasmota
  • Loading branch information
andrethomas authored Jul 20, 2018
2 parents b7b8156 + 33c552a commit 820e592
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion sonoff/xsns_30_mpr121.ino
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,8 @@
* and the indices of the arrays connected, running, current and previous to store sensor status and data of a specific sensor.
*
*/
typedef struct mpr121 {
typedef struct mpr121 mpr121;
struct mpr121 {
const uint8_t i2c_addr[4] = { 0x5A, 0x5B, 0x5C, 0x5D }; /** I2C addresses of MPR121 controller */
const char id[4] = { 'A', 'B', 'C', 'D' }; /** Human-readable sensor IDs*/
bool connected[4] = { false, false, false, false }; /** Status if sensor is connected at I2C address */
Expand Down

0 comments on commit 820e592

Please sign in to comment.