mirror of
https://github.com/Next-Flip/Momentum-Firmware.git
synced 2026-04-27 03:49:58 -07:00
fix: gpio pins reset to default state, see desc.
fixed wrong text in wifi deauther fixed hc sr04 gpio other fixes
This commit is contained in:
@@ -639,6 +639,9 @@ int32_t i2ctools_app(void* p) {
|
||||
}
|
||||
view_port_update(i2caddrs->view_port);
|
||||
}
|
||||
// Reset GPIO pins to default state
|
||||
furi_hal_gpio_init(&gpio_ext_pc0, GpioModeAnalog, GpioPullNo, GpioSpeedLow);
|
||||
furi_hal_gpio_init(&gpio_ext_pc1, GpioModeAnalog, GpioPullNo, GpioSpeedLow);
|
||||
gui_remove_view_port(gui, i2caddrs->view_port);
|
||||
view_port_free(i2caddrs->view_port);
|
||||
furi_message_queue_free(event_queue);
|
||||
|
||||
Reference in New Issue
Block a user