mirror of
https://github.com/portapack-mayhem/mayhem-firmware.git
synced 2026-09-12 17:49:31 +00:00
Half part of the transition of baseband processor.
This commit is contained in:
@@ -77,7 +77,7 @@ class FProtoWeatherOregon2 : public FProtoWeatherBase {
|
||||
decode_data = 0UL;
|
||||
decode_count_bit = 0;
|
||||
}
|
||||
if (manchester_advance(manchester_saved_state, event, &manchester_saved_state, &data)) {
|
||||
if (FProtoGeneral::manchester_advance(manchester_saved_state, event, &manchester_saved_state, &data)) {
|
||||
if (have_bit) {
|
||||
if (!prev_bit && data) {
|
||||
subghz_protocol_blocks_add_bit(1);
|
||||
@@ -166,7 +166,7 @@ class FProtoWeatherOregon2 : public FProtoWeatherBase {
|
||||
parser_step = Oregon2DecoderStepReset;
|
||||
decode_data = 0UL;
|
||||
decode_count_bit = 0;
|
||||
manchester_advance(manchester_saved_state, ManchesterEventReset, &manchester_saved_state, NULL);
|
||||
FProtoGeneral::manchester_advance(manchester_saved_state, ManchesterEventReset, &manchester_saved_state, NULL);
|
||||
have_bit = false;
|
||||
var_data = 0;
|
||||
var_bits = 0;
|
||||
|
||||
Reference in New Issue
Block a user