1
mirror of https://github.com/DarkFlippers/unleashed-firmware.git synced 2025-12-13 13:09:49 +04:00

Fix: proper deinit of gpio and spi bus in NRF24 driver

This commit is contained in:
MX
2022-11-02 03:42:38 +03:00
parent 2ab9769b4b
commit 0f1e03fa51
5 changed files with 16 additions and 3 deletions

View File

@@ -382,7 +382,7 @@ int32_t mousejacker_app(void* p) {
}
furi_thread_free(plugin_state->mjthread);
furi_hal_spi_release(nrf24_HANDLE);
nrf24_deinit();
view_port_enabled_set(view_port, false);
gui_remove_view_port(gui, view_port);
furi_record_close(RECORD_GUI);