diff --git a/firmware/application/apps/ui_subghzd.hpp b/firmware/application/apps/ui_subghzd.hpp index c70399da..64635108 100644 --- a/firmware/application/apps/ui_subghzd.hpp +++ b/firmware/application/apps/ui_subghzd.hpp @@ -117,7 +117,7 @@ class SubGhzDView : public View { const RecentEntriesColumns columns{{ {"Type", 19}, - {"Bits", 3}, + {"Bits", 4}, {"Age", 3}, }}; SubGhzDRecentEntriesView recent_entries_view{columns, recent}; diff --git a/firmware/application/baseband_api.cpp b/firmware/application/baseband_api.cpp index 201802a0..698b91ae 100644 --- a/firmware/application/baseband_api.cpp +++ b/firmware/application/baseband_api.cpp @@ -325,7 +325,7 @@ void set_weather() { } void set_subghzd(uint8_t modulation = 0) { - const SubGhzFPRxConfigureMessage message{modulation, 1}; + const SubGhzFPRxConfigureMessage message{1, modulation}; send_message(&message); } diff --git a/firmware/baseband/fprotos/s-princeton.hpp b/firmware/baseband/fprotos/s-princeton.hpp index d4a93d11..dd18f633 100644 --- a/firmware/baseband/fprotos/s-princeton.hpp +++ b/firmware/baseband/fprotos/s-princeton.hpp @@ -13,7 +13,7 @@ typedef enum { class FProtoSubGhzDPrinceton : public FProtoSubGhzDBase { public: FProtoSubGhzDPrinceton() { - sensorType = FPS_ANSONIC; + sensorType = FPS_PRINCETON; } void feed(bool level, uint32_t duration) { @@ -47,7 +47,6 @@ class FProtoSubGhzDPrinceton : public FProtoSubGhzDBase { data = decode_data; data_count_bit = decode_count_bit; - if (callback) callback(this); } last_data = decode_data; diff --git a/firmware/baseband/proc_weather.cpp b/firmware/baseband/proc_weather.cpp index cd609563..bb6a0bef 100644 --- a/firmware/baseband/proc_weather.cpp +++ b/firmware/baseband/proc_weather.cpp @@ -77,7 +77,6 @@ void WeatherProcessor::configure(const SubGhzFPRxConfigureMessage& message) { decim_0.configure(taps_200k_wfm_decim_0.taps); decim_1.configure(taps_200k_wfm_decim_1.taps); - (void)message; if (protoMode != message.protoMode) { // change it. FProtoListGeneral* tmp = protoList;