This is an automated email from the ASF dual-hosted git repository.
jerzy pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mynewt-core.git
The following commit(s) were added to refs/heads/master by this push:
new 429edbf battery: Add missing syscfg definition
429edbf is described below
commit 429edbffa2f26b13c24005fc0f78f3398cb7bda4
Author: Jerzy Kasenberg <[email protected]>
AuthorDate: Thu Oct 1 21:21:38 2020 +0200
battery: Add missing syscfg definition
BATTERY_DRIVERS_MAX was used in battery.h but it was never
defined, this fixes this inconsistency.
---
hw/battery/syscfg.yml | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/hw/battery/syscfg.yml b/hw/battery/syscfg.yml
index 21479fc..f65d0bf 100644
--- a/hw/battery/syscfg.yml
+++ b/hw/battery/syscfg.yml
@@ -36,3 +36,8 @@ syscfg.defs:
description: >
Sysinit stage for battery functionality.
value: 501
+
+ BATTERY_DRIVERS_MAX:
+ description: >
+ Number of battery drivers that can be registered.
+ value: 2