mirror of
https://github.com/liberatedsystems/RNode_Firmware_CE.git
synced 2025-03-17 20:06:20 -04:00
Scale waterfall dynamic range depending on band
This commit is contained in:
parent
5671cd7288
commit
c5ed792280
@ -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…
x
Reference in New Issue
Block a user