mirror of
https://github.com/eried/portapack-mayhem.git
synced 2024-10-01 01:26:06 -04:00
Interim Capture hang workaround (#1287)
* Temporary hang workaround * Clang found a trailing space in a comment :-)
This commit is contained in:
parent
92072b4225
commit
8ce48dbcf6
@ -48,6 +48,14 @@ CaptureAppView::CaptureAppView(NavigationView& nav)
|
||||
&waterfall,
|
||||
});
|
||||
|
||||
/* THE ONE LINE BELOW IS A TEMPORARY KLUDGE WORKAROUND FOR A MYSTERY M4 BASEBAND HANG ISSUE WHEN THE CAPTURE
|
||||
APP IS THE FIRST APP STARTED AFTER POWER-UP, OR THE CAPTURE APP IS RUN AFTER RUNNING REPLAY WITH A HIGH
|
||||
SAMPLE RATE. IT SHOULD NOT BE NECESSARY SINCE sampling_rate IS ALREADY INITIALIZED BY RADIOSTATE BUT
|
||||
APPARENTLY IS ADDING JUST THE RIGHT AMOUNT OF DELAY. ISSUE DOES NOT AFFECT ALL PORTAPACK UNITS.
|
||||
INVESTIGATION IS ONGOING, SEE ISSUE #1283. */
|
||||
receiver_model.set_sampling_rate(3072000);
|
||||
/* END MYSTERY HANG WORKAROUND. */
|
||||
|
||||
field_frequency_step.set_by_value(receiver_model.frequency_step());
|
||||
field_frequency_step.on_change = [this](size_t, OptionsField::value_t v) {
|
||||
receiver_model.set_frequency_step(v);
|
||||
|
Loading…
Reference in New Issue
Block a user