1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2026-06-04 23:14:47 -04:00

Spectrum frequency ticks MSB truncation: fixed algorithm, settings persistency and added documentation. Fixes #1477

This commit is contained in:
f4exb
2022-10-16 12:57:54 +02:00
parent eab20ec66f
commit da8e4d1a0b
11 changed files with 25 additions and 11 deletions
+1 -1
View File
@@ -746,7 +746,7 @@ void ScaleEngine::updateTruncation()
for (int i = widthOrder+1; i <= maxOrder; i++)
{
int irangeMin = floor(m_rangeMin / pow(10, i));
int irangeMax = floor(m_rangeMin / pow(10, i));
int irangeMax = floor(m_rangeMax / pow(10, i));
if (irangeMin == irangeMax)
{