Add RF amp field to TPMS, capture modes.

This commit is contained in:
Jared Boone 2016-06-06 10:34:39 -07:00
parent 9190fe7e4f
commit 0da48b099c
4 changed files with 11 additions and 1 deletions

View File

@ -31,6 +31,7 @@ CaptureAppView::CaptureAppView(NavigationView& nav) {
&rssi, &rssi,
&channel, &channel,
&field_frequency, &field_frequency,
&field_rf_amp,
&field_lna, &field_lna,
&field_vga, &field_vga,
&record_view, &record_view,

View File

@ -63,7 +63,11 @@ private:
}; };
FrequencyField field_frequency { FrequencyField field_frequency {
{ 5 * 8, 0 * 16 }, { 3 * 8, 0 * 16 },
};
RFAmpField field_rf_amp {
{ 13 * 8, 0 * 16 }
}; };
LNAGainField field_lna { LNAGainField field_lna {

View File

@ -167,6 +167,7 @@ TPMSAppView::TPMSAppView(NavigationView&) {
add_children({ { add_children({ {
&rssi, &rssi,
&channel, &channel,
&field_rf_amp,
&field_lna, &field_lna,
&field_vga, &field_vga,
&recent_entries_view, &recent_entries_view,

View File

@ -129,6 +129,10 @@ private:
{ 21 * 8, 5, 6 * 8, 4 }, { 21 * 8, 5, 6 * 8, 4 },
}; };
RFAmpField field_rf_amp {
{ 13 * 8, 0 * 16 }
};
LNAGainField field_lna { LNAGainField field_lna {
{ 15 * 8, 0 * 16 } { 15 * 8, 0 * 16 }
}; };