Merge pull request #349 from meshtastic/ina-addr

INA i2c address for device battery measurement
This commit is contained in:
Ben Meadors 2023-05-26 19:38:06 -05:00 committed by GitHub
commit 4386f8b101
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 1 deletions

View file

@ -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

View file

@ -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;
}
}
}