We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f572571 commit 9ef1babCopy full SHA for 9ef1bab
1 file changed
src/systemtask/SystemTask.cpp
@@ -191,12 +191,6 @@ void SystemTask::Work() {
191
nrfx_gpiote_in_init(PinMap::PowerPresent, &pinConfig, nrfx_gpiote_evt_handler);
192
nrfx_gpiote_in_event_enable(PinMap::PowerPresent, true);
193
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
-
200
// Update controller based on current gpio pin state, needs to be called after gpio config
201
batteryController.Update();
202
0 commit comments