mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-06-29 00:57:11 -04:00
fix ook repeat bug
This commit is contained in:
parent
7f64606fb2
commit
8986b65f94
1 changed files with 1 additions and 1 deletions
|
@ -49,11 +49,11 @@ void OOKProcessor::execute(const buffer_c8_t& buffer) {
|
|||
} else if (pause_counter == 1) {
|
||||
if (repeat_counter < repeat) {
|
||||
// Repeat
|
||||
bit_pos = 0;
|
||||
cur_bit = shared_memory.bb_data.data[0] & 0x80;
|
||||
txprogress_message.progress = repeat_counter + 1;
|
||||
txprogress_message.done = false;
|
||||
shared_memory.application_queue.push(txprogress_message);
|
||||
bit_pos = 1;
|
||||
repeat_counter++;
|
||||
} else {
|
||||
// Stop
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue