From 5021a0357207f5e4ebe15a46ce09196fae45d9f6 Mon Sep 17 00:00:00 2001 From: Brumi-2021 Date: Tue, 23 Aug 2022 00:04:48 +0200 Subject: [PATCH] Minor change radio,disable-->receiver.disable --- firmware/application/apps/ert_app.cpp | 2 +- firmware/application/apps/tpms_app.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/firmware/application/apps/ert_app.cpp b/firmware/application/apps/ert_app.cpp index 7d2d8197..e046736b 100644 --- a/firmware/application/apps/ert_app.cpp +++ b/firmware/application/apps/ert_app.cpp @@ -139,7 +139,7 @@ ERTAppView::~ERTAppView() { // save app settings settings.save("rx_ert", &app_settings); - radio::disable(); + receiver_model.disable(); // to switch off all, including DC bias and change flag enabled_ baseband::shutdown(); } diff --git a/firmware/application/apps/tpms_app.cpp b/firmware/application/apps/tpms_app.cpp index 45fc4c18..4ee75354 100644 --- a/firmware/application/apps/tpms_app.cpp +++ b/firmware/application/apps/tpms_app.cpp @@ -205,7 +205,7 @@ TPMSAppView::~TPMSAppView() { app_settings.rx_frequency = target_frequency_; settings.save("rx_tpms", &app_settings); - radio::disable(); + receiver_model.disable(); // to switch off all, including DC bias and change flag enabled_ baseband::shutdown(); }