mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-05-08 09:45:11 -04:00
Beta scanner app
ADSB TX frame index bugfix (OOB)
This commit is contained in:
parent
5636764226
commit
3ddc6553ac
5 changed files with 213 additions and 28 deletions
|
@ -270,12 +270,11 @@ void ADSBTXThread::run() {
|
|||
|
||||
chThdSleepMilliseconds(50);
|
||||
|
||||
if (frame_index == frames_.size()) {
|
||||
frame_index++;
|
||||
if (frame_index >= frames_.size()) {
|
||||
frame_index = 0;
|
||||
//if (regen)
|
||||
// regen--;
|
||||
} else {
|
||||
frame_index++;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue