summaryrefslogtreecommitdiff
path: root/src/components/battery/BatteryController.h
diff options
context:
space:
mode:
authorJF002 <JF002@users.noreply.github.com>2021-09-13 18:05:43 (GMT)
committerGitHub <noreply@github.com>2021-09-13 18:05:43 (GMT)
commitb0bdd2be1c30d349a1efef96b93a5771f5edbd06 (patch)
treef87b3c1b7b2fb664bc26da96f4cafd0206aa53dc /src/components/battery/BatteryController.h
parent84a93b54410681ce1aaae80ba7a7e6d3300dcfa1 (diff)
parente614af1c4a53e943256b3b2acee4bfe7d7204bbf (diff)
Merge pull request #549 from hubmartin/pinmap
Put all duplicated GPIO pin definitions to a single file
Diffstat (limited to 'src/components/battery/BatteryController.h')
-rw-r--r--src/components/battery/BatteryController.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/components/battery/BatteryController.h b/src/components/battery/BatteryController.h
index ad304eb..8af27ea 100644
--- a/src/components/battery/BatteryController.h
+++ b/src/components/battery/BatteryController.h
@@ -33,8 +33,6 @@ namespace Pinetime {
static Battery* instance;
nrf_saadc_value_t saadc_value;
- static constexpr uint32_t chargingPin = 12;
- static constexpr uint32_t powerPresentPin = 19;
static constexpr nrf_saadc_input_t batteryVoltageAdcInput = NRF_SAADC_INPUT_AIN7;
uint16_t voltage = 0;
uint8_t percentRemaining = 0;