mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-05-14 12:42:19 -04:00
Replay buffer size and samplerate adjustment
This commit is contained in:
parent
33a2df9d2a
commit
46515ebb05
6 changed files with 36 additions and 26 deletions
|
@ -25,10 +25,6 @@
|
|||
#include "baseband_api.hpp"
|
||||
#include "buffer_exchange.hpp"
|
||||
|
||||
// DEBUG:
|
||||
#include "hackrf_gpio.hpp"
|
||||
using namespace hackrf::one;
|
||||
|
||||
struct BasebandReplay {
|
||||
BasebandReplay(ReplayConfig* const config) {
|
||||
baseband::replay_start(config);
|
||||
|
@ -90,10 +86,7 @@ Optional<File::Error> ReplayThread::run() {
|
|||
return read_result.error();
|
||||
}
|
||||
|
||||
if (!buffers.put(buffer))
|
||||
for(;;){}; // DEBUG
|
||||
|
||||
led_tx.toggle(); // DEBUG
|
||||
buffers.put(buffer);
|
||||
}
|
||||
|
||||
return { };
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue