better organize configuration
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
mainmenu "P-RAD configuration"
|
||||
|
||||
comment "Readsb input config"
|
||||
|
||||
config BASE_URL
|
||||
string "HTTP backend base URL"
|
||||
default "http://127.0.0.1:8200"
|
||||
@@ -7,6 +9,9 @@ config BASE_URL
|
||||
Base URL of the backend the display fetches
|
||||
receiver and aircraft JSON from.
|
||||
|
||||
|
||||
comment "Main display configuration"
|
||||
|
||||
config AUTOSCALE
|
||||
bool "Autoscale range to fardest aircraft"
|
||||
default y
|
||||
@@ -40,6 +45,18 @@ config FIRST_RING_DISTANCE
|
||||
help
|
||||
Distance of the first ring from the center of the screen.
|
||||
|
||||
config TIME_BASED_VECTOR_LENGHT
|
||||
int "Lenght of time based vector (minutes)"
|
||||
range 1 8
|
||||
default 2
|
||||
help
|
||||
Time in minutes for time-Based vector represented by line stating in the middle of the an aircraft icon,
|
||||
going in distance of travel the lenght of this line is controled by this setting.
|
||||
For example if set to 2 minutes the line will end where the plane be in 2 minutes,
|
||||
if direction and speed does not change.
|
||||
|
||||
comment "Receiver configuration"
|
||||
|
||||
config FALLBACK_LAT
|
||||
string "Fallback receiver latitude"
|
||||
default "50.000000"
|
||||
@@ -52,6 +69,8 @@ config FALLBACK_LON
|
||||
help
|
||||
Longitude used when the receiver does not provide one.
|
||||
|
||||
comment "Unit configuration"
|
||||
|
||||
config METRIC
|
||||
bool "Use metric units"
|
||||
default y
|
||||
|
||||
Reference in New Issue
Block a user