Extract baseband stats into separate widget

Also removed baseband saturation indication on red (TX) LED. A saturation indicator needs to live somewhere else, and be thought out a bit more...
This commit is contained in:
Jared Boone 2015-07-09 11:53:10 -07:00
parent 7c9fc62f5e
commit 154b40d3c9
4 changed files with 56 additions and 38 deletions

View file

@ -39,9 +39,6 @@ class SystemStatusView : public View {
public:
SystemStatusView();
void on_show() override;
void on_hide() override;
private:
Text portapack {
{ 0, 0, 9 * 8, 1 * 16 },
@ -58,11 +55,6 @@ private:
"---",
};
*/
Text text_ticks {
{ 9 * 8, 0, 7 * 8, 1 * 16 },
"",
};
RSSI rssi {
{ 19 * 8, 0, 11 * 8, 4 },
};
@ -74,8 +66,6 @@ private:
Audio audio {
{ 19 * 8, 10, 11 * 8, 4 },
};
void on_statistics_update(const BasebandStatistics& statistics);
};
class NavigationView : public View {