Merge pull request #89 adc_multiplier_override pref

adc_multiplier_override pref
This commit is contained in:
Ben Meadors 2022-02-02 21:20:21 -06:00 committed by GitHub
commit 2930129e8e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -692,6 +692,12 @@ message RadioConfig {
* Decrypted packets may be useful for external systems that want to consume meshtastic packets
*/
bool mqtt_encryption_enabled = 174;
/*
* Ratio of voltage divider for battery pin eg. 3.20 (R1=100k, R2=220k)
* Overrides the ADC_MULTIPLIER defined in variant for battery voltage calculation.
*/
float adc_multiplier_override = 175;
}
UserPreferences preferences = 1;