mirror of
https://github.com/liberatedsystems/RNode_Firmware_CE.git
synced 2025-05-03 15:14:53 -04:00
Scale waterfall dynamic range depending on band
This commit is contained in:
parent
5671cd7288
commit
c5ed792280
1 changed files with 7 additions and 2 deletions
|
@ -531,8 +531,13 @@ void draw_quality_bars(int px, int py) {
|
|||
}
|
||||
}
|
||||
|
||||
#define S_RSSI_MIN -135.0
|
||||
#define S_RSSI_MAX -75.0
|
||||
#if MODE == SX1280
|
||||
#define S_RSSI_MIN -105.0
|
||||
#define S_RSSI_MAX -65.0
|
||||
#else
|
||||
#define S_RSSI_MIN -135.0
|
||||
#define S_RSSI_MAX -75.0
|
||||
#endif
|
||||
#define S_RSSI_SPAN (S_RSSI_MAX-S_RSSI_MIN)
|
||||
void draw_signal_bars(int px, int py) {
|
||||
stat_area.fillRect(px, py, 13, 7, SSD1306_BLACK);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue