diff options
| author | JF002 <JF002@users.noreply.github.com> | 2021-09-13 18:05:43 (GMT) |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-09-13 18:05:43 (GMT) |
| commit | b0bdd2be1c30d349a1efef96b93a5771f5edbd06 (patch) | |
| tree | f87b3c1b7b2fb664bc26da96f4cafd0206aa53dc /src/components/battery/BatteryController.h | |
| parent | 84a93b54410681ce1aaae80ba7a7e6d3300dcfa1 (diff) | |
| parent | e614af1c4a53e943256b3b2acee4bfe7d7204bbf (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.h | 2 |
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; |
