CONFIGURATION!

This commit is contained in:
2026-08-05 18:25:17 +02:00
parent 770c7ca631
commit ffaf8f258e
155 changed files with 28575 additions and 19 deletions
+59
View File
@@ -0,0 +1,59 @@
mainmenu "P-RAD configuration"
config BASE_URL
string "HTTP backend base URL"
default "http://127.0.0.1:8200"
help
Base URL of the backend the display fetches
receiver and aircraft JSON from.
config AUTOSCALE
bool "Autoscale range to fardest aircraft"
default y
help
Dynamically adjust the displayed range so the
fardest aircraft stays on screen. When disabled
the range is fixed (see MAX_RANGE).
if AUTOSCALE
config RANGE_PADDING
int "Autoscale range padding (km)"
range 1 65535
default 20
help
Padding in km added around the fardest aircraft distance.
endif
config MAX_RANGE
int "Maximum range (km)"
range 1 65535
default 500
help
Fixed range when autoscale is off, initial range when on.
config FIRST_RING_DISTANCE
int "Distance of first range ring from the center (km)"
range 1 65535
default 50
help
Distance of the first ring from the center of the screen.
config FALLBACK_LAT
string "Fallback receiver latitude"
default "50.000000"
help
Latitude used when the receiver does not provide one.
config FALLBACK_LON
string "Fallback receiver longitude"
default "14.000000"
help
Longitude used when the receiver does not provide one.
config METRIC
bool "Use metric units"
default y
help
Show altitudes in meters instead of feet.