Merge pull request #36 from thebentern/add-always-powered-prefernce

Add is_always_powered user preference
This commit is contained in:
Sacha Weatherstone 2021-11-12 00:49:07 +11:00 committed by GitHub
commit 69cf27ba4c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -548,6 +548,12 @@ message RadioConfig {
* (bitwise OR of PositionFlags)
*/
uint32 position_flags = 150;
/*
* Circumvents the logic block for determining whether the device is powered or not.
* Useful for devices with finicky ADC issues on the battery sense pins.
*/
bool is_always_powered = 151;
}
UserPreferences preferences = 1;