mirror of
https://github.com/eried/portapack-mayhem.git
synced 2024-10-01 01:26:06 -04:00
fix ook repeat bug
This commit is contained in:
parent
7f64606fb2
commit
8986b65f94
@ -49,11 +49,11 @@ void OOKProcessor::execute(const buffer_c8_t& buffer) {
|
|||||||
} else if (pause_counter == 1) {
|
} else if (pause_counter == 1) {
|
||||||
if (repeat_counter < repeat) {
|
if (repeat_counter < repeat) {
|
||||||
// Repeat
|
// Repeat
|
||||||
bit_pos = 0;
|
|
||||||
cur_bit = shared_memory.bb_data.data[0] & 0x80;
|
cur_bit = shared_memory.bb_data.data[0] & 0x80;
|
||||||
txprogress_message.progress = repeat_counter + 1;
|
txprogress_message.progress = repeat_counter + 1;
|
||||||
txprogress_message.done = false;
|
txprogress_message.done = false;
|
||||||
shared_memory.application_queue.push(txprogress_message);
|
shared_memory.application_queue.push(txprogress_message);
|
||||||
|
bit_pos = 1;
|
||||||
repeat_counter++;
|
repeat_counter++;
|
||||||
} else {
|
} else {
|
||||||
// Stop
|
// Stop
|
||||||
|
Loading…
Reference in New Issue
Block a user