Skip to content

Commit 9ef1bab

Browse files
committed
Code cleanup
1 parent f572571 commit 9ef1bab

1 file changed

Lines changed: 0 additions & 6 deletions

File tree

src/systemtask/SystemTask.cpp

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -191,12 +191,6 @@ void SystemTask::Work() {
191191
nrfx_gpiote_in_init(PinMap::PowerPresent, &pinConfig, nrfx_gpiote_evt_handler);
192192
nrfx_gpiote_in_event_enable(PinMap::PowerPresent, true);
193193

194-
// if (nrf_gpio_pin_read(PinMap::PowerPresent)) {
195-
// nrf_gpio_cfg_sense_input(PinMap::PowerPresent, NRF_GPIO_PIN_NOPULL, NRF_GPIO_PIN_SENSE_LOW);
196-
// } else {
197-
// nrf_gpio_cfg_sense_input(PinMap::PowerPresent, NRF_GPIO_PIN_NOPULL, NRF_GPIO_PIN_SENSE_HIGH);
198-
// }
199-
200194
// Update controller based on current gpio pin state, needs to be called after gpio config
201195
batteryController.Update();
202196

0 commit comments

Comments
 (0)