1
0
mirror of https://github.com/KubaPro010/fm-dx-webserver.git synced 2026-02-26 22:13:53 +01:00

fix signal graph dBm value

This commit is contained in:
Amateur Audio Dude
2025-04-20 16:55:13 +10:00
committed by GitHub
parent ea3b0d8ced
commit 23685277f5

View File

@@ -534,7 +534,7 @@ function initCanvas() {
let adjustedTickValue;
switch(localStorage.getItem("signalUnit")) {
case "dbuv": adjustedTickValue = tick.value - 11.25; break;
case "dbm": adjustedTickValue = tick.value - -120; break;
case "dbm": adjustedTickValue = tick.value - 120; break;
default: adjustedTickValue = tick.value; break;
}