Added RF amp setting in ADS-B RX

Removed frequency step, added LNA setting in Replay
Another menu bugfix :(
Updated binary
This commit is contained in:
furrtek
2017-12-08 21:46:16 +00:00
parent aba6c14074
commit 65a99bbe5a
7 changed files with 24 additions and 23 deletions
+9 -6
View File
@@ -30,7 +30,6 @@
#include "adsb.hpp"
#include "message.hpp"
using namespace adsb;
namespace ui {
@@ -218,11 +217,7 @@ private:
bool send_updates { false };
Labels labels {
{ { 0 * 8, 0 * 8 }, "LNA: VGA: RSSI:", Color::light_grey() }
};
RSSI rssi {
{ 19 * 8, 4, 10 * 8, 8 },
{ { 0 * 8, 0 * 8 }, "LNA: VGA: AMP:", Color::light_grey() }
};
LNAGainField field_lna {
@@ -233,6 +228,14 @@ private:
{ 11 * 8, 0 * 16 }
};
RFAmpField field_rf_amp {
{ 18 * 8, 0 * 16 }
};
RSSI rssi {
{ 20 * 8, 4, 10 * 8, 8 },
};
MessageHandlerRegistration message_handler_frame {
Message::ID::ADSBFrame,
[this](Message* const p) {