TPMS: Add gain controls.

This commit is contained in:
Jared Boone 2016-06-06 09:50:48 -07:00
parent a475daeeea
commit a0e7fdf90b
2 changed files with 42 additions and 2 deletions

View file

@ -24,6 +24,9 @@
#include "ui_widget.hpp"
#include "ui_navigation.hpp"
#include "ui_receiver.hpp"
#include "ui_rssi.hpp"
#include "ui_channel.hpp"
#include "event_m0.hpp"
@ -116,6 +119,24 @@ private:
}
};
static constexpr ui::Dim header_height = 2 * 16;
RSSI rssi {
{ 21 * 8, 0, 6 * 8, 4 },
};
Channel channel {
{ 21 * 8, 5, 6 * 8, 4 },
};
LNAGainField field_lna {
{ 15 * 8, 0 * 16 }
};
VGAGainField field_vga {
{ 18 * 8, 0 * 16 }
};
TPMSRecentEntries recent;
std::unique_ptr<TPMSLogger> logger;