mirror of
https://github.com/meshtastic/protobufs.git
synced 2026-04-20 22:13:55 +00:00
Merge pull request #349 from meshtastic/ina-addr
INA i2c address for device battery measurement
This commit is contained in:
commit
4386f8b101
2 changed files with 8 additions and 1 deletions
|
|
@ -10,3 +10,5 @@
|
|||
*LoRaConfig.bandwidth int_size:16
|
||||
*LoRaConfig.coding_rate int_size:8
|
||||
*LoRaConfig.channel_num int_size:16
|
||||
|
||||
*PowerConfig.device_battery_ina_address int_size:8
|
||||
|
|
@ -336,6 +336,11 @@ message Config {
|
|||
* 0 for default of 10 seconds
|
||||
*/
|
||||
uint32 min_wake_secs = 8;
|
||||
|
||||
/*
|
||||
* I2C address of INA_2XX to use for reading device battery voltage
|
||||
*/
|
||||
uint32 device_battery_ina_address = 9;
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
@ -863,4 +868,4 @@ message Config {
|
|||
LoRaConfig lora = 6;
|
||||
BluetoothConfig bluetooth = 7;
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue