diff options
| author | hubmartin <hub.martin@gmail.com> | 2021-08-03 18:32:23 (GMT) |
|---|---|---|
| committer | hubmartin <hub.martin@gmail.com> | 2021-08-03 18:32:23 (GMT) |
| commit | b7aa04e1f55096d754a7cc291f02f3430f5a3cd9 (patch) | |
| tree | 6462cbd332cf813f9a173b0783521ef9714c45bb /src/components/battery/BatteryController.h | |
| parent | 28abeae21bb370c45d26912bba4737a1cc6ddca7 (diff) | |
PinMap with namespace and constexpr
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 cd66ff8..993ef6c 100644 --- a/src/components/battery/BatteryController.h +++ b/src/components/battery/BatteryController.h @@ -73,8 +73,6 @@ namespace Pinetime { static constexpr uint8_t percentRemainingSamples = 5; CircBuffer<percentRemainingSamples> percentRemainingBuffer {}; - static constexpr uint32_t chargingPin = PINMAP_CHARGING_PIN; - static constexpr uint32_t powerPresentPin = 19; static constexpr nrf_saadc_input_t batteryVoltageAdcInput = NRF_SAADC_INPUT_AIN7; uint16_t voltage = 0; int percentRemaining = -1; |
