mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-07-30 18:19:08 -04:00
Reverted WFM mode to working state
TXView in ADSB TX Lockable TXView POCSAG TX bugfix with Alphanum and Numeric only Testing Labels widget
This commit is contained in:
parent
884d0c4f58
commit
0102a34286
17 changed files with 202 additions and 133 deletions
|
@ -37,7 +37,7 @@ void FSKProcessor::execute(const buffer_c8_t& buffer) {
|
|||
for (size_t i = 0; i < buffer.count; i++) {
|
||||
|
||||
if (sample_count >= samples_per_bit) {
|
||||
if (bit_pos >= length) {
|
||||
if (bit_pos > length) {
|
||||
// End of data
|
||||
cur_bit = 0;
|
||||
txdone_message.done = true;
|
||||
|
@ -83,7 +83,7 @@ void FSKProcessor::on_message(const Message* const p) {
|
|||
|
||||
if (message.id == Message::ID::FSKConfigure) {
|
||||
samples_per_bit = message.samples_per_bit;
|
||||
length = message.stream_length - 1;
|
||||
length = message.stream_length + 4; // Why 4 ?!
|
||||
|
||||
shift_zero = message.shift * (0xFFFFFFFFULL / 2280000);
|
||||
shift_one = -shift_zero;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue