mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-06-04 13:18:55 -04:00
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:
parent
7c9fc62f5e
commit
154b40d3c9
4 changed files with 56 additions and 38 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue