mirror of
https://github.com/eried/portapack-mayhem.git
synced 2024-12-27 00:09:36 -05:00
Fixes
This commit is contained in:
parent
a75932644c
commit
dd5b6d001a
@ -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};
|
||||||
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -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;
|
||||||
|
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user