This commit is contained in:
HTotoo 2023-12-08 23:06:46 +01:00
parent a75932644c
commit dd5b6d001a
4 changed files with 3 additions and 5 deletions

View File

@ -117,7 +117,7 @@ class SubGhzDView : public View {
const RecentEntriesColumns columns{{ const RecentEntriesColumns columns{{
{"Type", 19}, {"Type", 19},
{"Bits", 3}, {"Bits", 4},
{"Age", 3}, {"Age", 3},
}}; }};
SubGhzDRecentEntriesView recent_entries_view{columns, recent}; SubGhzDRecentEntriesView recent_entries_view{columns, recent};

View File

@ -325,7 +325,7 @@ void set_weather() {
} }
void set_subghzd(uint8_t modulation = 0) { void set_subghzd(uint8_t modulation = 0) {
const SubGhzFPRxConfigureMessage message{modulation, 1}; const SubGhzFPRxConfigureMessage message{1, modulation};
send_message(&message); send_message(&message);
} }

View File

@ -13,7 +13,7 @@ typedef enum {
class FProtoSubGhzDPrinceton : public FProtoSubGhzDBase { class FProtoSubGhzDPrinceton : public FProtoSubGhzDBase {
public: public:
FProtoSubGhzDPrinceton() { FProtoSubGhzDPrinceton() {
sensorType = FPS_ANSONIC; sensorType = FPS_PRINCETON;
} }
void feed(bool level, uint32_t duration) { void feed(bool level, uint32_t duration) {
@ -47,7 +47,6 @@ class FProtoSubGhzDPrinceton : public FProtoSubGhzDBase {
data = decode_data; data = decode_data;
data_count_bit = decode_count_bit; data_count_bit = decode_count_bit;
if (callback) callback(this); if (callback) callback(this);
} }
last_data = decode_data; last_data = decode_data;

View File

@ -77,7 +77,6 @@ void WeatherProcessor::configure(const SubGhzFPRxConfigureMessage& message) {
decim_0.configure(taps_200k_wfm_decim_0.taps); decim_0.configure(taps_200k_wfm_decim_0.taps);
decim_1.configure(taps_200k_wfm_decim_1.taps); decim_1.configure(taps_200k_wfm_decim_1.taps);
(void)message;
if (protoMode != message.protoMode) { if (protoMode != message.protoMode) {
// change it. // change it.
FProtoListGeneral* tmp = protoList; FProtoListGeneral* tmp = protoList;