summaryrefslogtreecommitdiff
path: root/src/systemtask/SystemTask.cpp
diff options
context:
space:
mode:
authorhubmartin <hub.martin@gmail.com>2021-10-03 17:03:08 +0200
committerhubmartin <hub.martin@gmail.com>2021-10-03 17:03:08 +0200
commit9ef1babb9dfea4be0ef2179254dc3dd8afd1d7e1 (patch)
treec3165ec885fc558d4c78203dd388762672e4b92a /src/systemtask/SystemTask.cpp
parentf5725714d13a66407b0556f8ac3cbd7e6db8901f (diff)
Code cleanup
Diffstat (limited to 'src/systemtask/SystemTask.cpp')
-rw-r--r--src/systemtask/SystemTask.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/systemtask/SystemTask.cpp b/src/systemtask/SystemTask.cpp
index fc2c5cfd..8412540f 100644
--- a/src/systemtask/SystemTask.cpp
+++ b/src/systemtask/SystemTask.cpp
@@ -191,12 +191,6 @@ void SystemTask::Work() {
nrfx_gpiote_in_init(PinMap::PowerPresent, &pinConfig, nrfx_gpiote_evt_handler);
nrfx_gpiote_in_event_enable(PinMap::PowerPresent, true);
- // if (nrf_gpio_pin_read(PinMap::PowerPresent)) {
- // nrf_gpio_cfg_sense_input(PinMap::PowerPresent, NRF_GPIO_PIN_NOPULL, NRF_GPIO_PIN_SENSE_LOW);
- // } else {
- // nrf_gpio_cfg_sense_input(PinMap::PowerPresent, NRF_GPIO_PIN_NOPULL, NRF_GPIO_PIN_SENSE_HIGH);
- // }
-
// Update controller based on current gpio pin state, needs to be called after gpio config
batteryController.Update();