mirror of
https://github.com/portapack-mayhem/mayhem-firmware.git
synced 2025-08-20 03:47:45 +00:00
Transponder apps: Use gains from receiver model.
This commit is contained in:
@@ -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,
|
||||||
|
Reference in New Issue
Block a user