mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-08-06 05:34:50 -04:00
Transponder apps: Use gains from receiver model.
This commit is contained in:
parent
c573f3b57d
commit
5e362534c3
3 changed files with 13 additions and 3 deletions
|
@ -25,6 +25,9 @@
|
||||||
|
|
||||||
#include "baseband_api.hpp"
|
#include "baseband_api.hpp"
|
||||||
|
|
||||||
|
#include "portapack.hpp"
|
||||||
|
using namespace portapack;
|
||||||
|
|
||||||
#include <algorithm>
|
#include <algorithm>
|
||||||
|
|
||||||
namespace ais {
|
namespace ais {
|
||||||
|
@ -309,7 +312,9 @@ AISAppView::AISAppView(NavigationView&) {
|
||||||
sampling_rate,
|
sampling_rate,
|
||||||
baseband_bandwidth,
|
baseband_bandwidth,
|
||||||
rf::Direction::Receive,
|
rf::Direction::Receive,
|
||||||
false, 32, 32,
|
receiver_model.rf_amp(),
|
||||||
|
static_cast<int8_t>(receiver_model.lna()),
|
||||||
|
static_cast<int8_t>(receiver_model.vga()),
|
||||||
1,
|
1,
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
|
@ -23,6 +23,9 @@
|
||||||
|
|
||||||
#include "baseband_api.hpp"
|
#include "baseband_api.hpp"
|
||||||
|
|
||||||
|
#include "portapack.hpp"
|
||||||
|
using namespace portapack;
|
||||||
|
|
||||||
#include "manchester.hpp"
|
#include "manchester.hpp"
|
||||||
|
|
||||||
#include "crc.hpp"
|
#include "crc.hpp"
|
||||||
|
@ -135,7 +138,9 @@ ERTAppView::ERTAppView(NavigationView&) {
|
||||||
sampling_rate,
|
sampling_rate,
|
||||||
baseband_bandwidth,
|
baseband_bandwidth,
|
||||||
rf::Direction::Receive,
|
rf::Direction::Receive,
|
||||||
false, 32, 32,
|
receiver_model.rf_amp(),
|
||||||
|
static_cast<int8_t>(receiver_model.lna()),
|
||||||
|
static_cast<int8_t>(receiver_model.vga()),
|
||||||
1,
|
1,
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
|
@ -181,7 +181,7 @@ TPMSAppView::TPMSAppView(NavigationView&) {
|
||||||
sampling_rate,
|
sampling_rate,
|
||||||
baseband_bandwidth,
|
baseband_bandwidth,
|
||||||
rf::Direction::Receive,
|
rf::Direction::Receive,
|
||||||
false,
|
receiver_model.rf_amp(),
|
||||||
static_cast<int8_t>(receiver_model.lna()),
|
static_cast<int8_t>(receiver_model.lna()),
|
||||||
static_cast<int8_t>(receiver_model.vga()),
|
static_cast<int8_t>(receiver_model.vga()),
|
||||||
1,
|
1,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue