From 0dd0ddececf9bd34b4a38290c02e08acd5b418c1 Mon Sep 17 00:00:00 2001 From: Tobias Schramm Date: Tue, 9 Feb 2021 14:20:57 +0100 Subject: [PATCH] Add license headers --- src/battery.c | 6 ++++++ src/display_pinetime.c | 7 ++++++- zephyr/dts/bindings/power/simple-battery.yaml | 4 +++- 3 files changed, 15 insertions(+), 2 deletions(-) diff --git a/src/battery.c b/src/battery.c index cb491ec..f2a1638 100644 --- a/src/battery.c +++ b/src/battery.c @@ -1,3 +1,9 @@ +/* + * Copyright (c) 2021 Tobias Schramm + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include #include diff --git a/src/display_pinetime.c b/src/display_pinetime.c index 2723ae2..aca65f1 100644 --- a/src/display_pinetime.c +++ b/src/display_pinetime.c @@ -1,6 +1,11 @@ +/* + * Copyright (c) 2021 Tobias Schramm + * + * SPDX-License-Identifier: Apache-2.0 + */ + #ifdef PLATFORM_PINETIME -#include #include #include #include diff --git a/zephyr/dts/bindings/power/simple-battery.yaml b/zephyr/dts/bindings/power/simple-battery.yaml index 61d65fa..7abb9fd 100644 --- a/zephyr/dts/bindings/power/simple-battery.yaml +++ b/zephyr/dts/bindings/power/simple-battery.yaml @@ -1,4 +1,4 @@ -# Copyright (c) 2020, Tobias Schramm +# Copyright (c) 2021, Tobias Schramm # SPDX-License-Identifier: Apache-2.0 description: | @@ -15,3 +15,5 @@ properties: description: | Array containing pairs of state-of-charge and associated open circuit battery voltage in millivolts + Entries must be strictly monotonically decreasing in both + battery voltage and state-of-charge