sensors: every continuously converting chip sleeps between reads; INA chips identified
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
b1e4e65c52
commit
ad4f53016c
2 files changed
+114
-21
No files matched your search
@@ -13,6 +13,8 @@ protected:
|
||||
struct ActiveSensor {
|
||||
void (*query)(uint8_t channel, uint8_t sub_channel, CayenneLPP& telemetry);
|
||||
uint8_t sub_channel;
|
||||
const char* name; // CUSTOM (TeTeHacko): the driver that claimed the address,
|
||||
uint8_t address; // for `i2c` -- the table's first name there can be a different chip
|
||||
};
|
||||
|
||||
ActiveSensor _active_sensors[MAX_ACTIVE_SENSORS];
|
||||
|
||||
Reference in new issue
Block a user