mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-07-28 09:14:39 -04:00
RSSI draw/ Level app opt (#2403)
* change peak from green to orange * add db
This commit is contained in:
parent
498369b77d
commit
ac89ca2a2a
3 changed files with 32 additions and 4 deletions
|
@ -61,6 +61,7 @@ class RSSI : public Widget {
|
|||
void on_focus() override;
|
||||
bool on_key(const KeyEvent key) override;
|
||||
bool on_touch(const TouchEvent event) override;
|
||||
void set_db(int16_t db);
|
||||
|
||||
private:
|
||||
int8_t min_ = 0;
|
||||
|
@ -68,6 +69,7 @@ class RSSI : public Widget {
|
|||
int8_t max_ = 0;
|
||||
int8_t peak_ = 0;
|
||||
size_t peak_duration_ = 0;
|
||||
int16_t db_ = 0;
|
||||
bool instant_exec_{false};
|
||||
|
||||
bool pitch_rssi_enabled = false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue