kopia lustrzana https://github.com/meshtastic/protobufs
Merge pull request #167 from meshtastic/low-power
Consolidate is_lower_power and is_power_savingpull/168/head
commit
8f616d3eef
|
@ -290,7 +290,7 @@ message Config {
|
||||||
* we should try to minimize power consumption as much as possible.
|
* we should try to minimize power consumption as much as possible.
|
||||||
* YOU DO NOT NEED TO SET THIS IF YOU'VE set is_router (it is implied in that case).
|
* YOU DO NOT NEED TO SET THIS IF YOU'VE set is_router (it is implied in that case).
|
||||||
*/
|
*/
|
||||||
bool is_low_power = 2;
|
bool is_power_saving = 2;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Circumvents the logic block for determining whether the device is powered or not.
|
* Circumvents the logic block for determining whether the device is powered or not.
|
||||||
|
@ -304,11 +304,6 @@ message Config {
|
||||||
*/
|
*/
|
||||||
uint32 on_battery_shutdown_after_secs = 4;
|
uint32 on_battery_shutdown_after_secs = 4;
|
||||||
|
|
||||||
/*
|
|
||||||
* If set to true, enable power saving features of the esp32
|
|
||||||
*/
|
|
||||||
bool is_power_saving = 5;
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Ratio of voltage divider for battery pin eg. 3.20 (R1=100k, R2=220k)
|
* 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.
|
* Overrides the ADC_MULTIPLIER defined in variant for battery voltage calculation.
|
||||||
|
|
Ładowanie…
Reference in New Issue