Merge pull request #89 adc_multiplier_override pref

adc_multiplier_override pref
pull/90/head
Ben Meadors 2022-02-02 21:20:21 -06:00 zatwierdzone przez GitHub
commit 2930129e8e
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
1 zmienionych plików z 6 dodań i 0 usunięć

Wyświetl plik

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