mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-08-06 13:44:26 -04:00
Missing image files
This commit is contained in:
parent
82cb56e9b2
commit
a35d9ee8a9
12 changed files with 52 additions and 65 deletions
|
@ -55,11 +55,8 @@ void JammerView::update_range(const uint32_t n) {
|
|||
|
||||
center = (range_ptr->min + range_ptr->max) / 2;
|
||||
bw_khz = abs(range_ptr->max - range_ptr->min) / 1000;
|
||||
|
||||
auto center_mhz = to_string_dec_int(center / 1000000, 4);
|
||||
auto center_hz100 = to_string_dec_int((center / 1000) % 1000, 3, '0');
|
||||
|
||||
label = "C:" + center_mhz + "." + center_hz100 + "M W:";
|
||||
label = "C:" + to_string_short_freq(center) + "M W:";
|
||||
|
||||
if (bw_khz < 1000) {
|
||||
label += to_string_dec_int(bw_khz, 3) + "kHz";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue