adding globals and constants

This commit is contained in:
2026-06-15 10:42:45 -07:00
parent fe417fe743
commit d0616ac523
3 changed files with 40 additions and 33 deletions

View File

@@ -42,11 +42,12 @@
/*
* Set to a TESTING_* constant to put the exhibit in single-component
* test mode. When non-zero, only the named component is active and
* no other radars can be made available.
* test mode. Stored in radar_management[RADAR_NONE].testing at startup.
* When non-zero, only the named component is active and no other radars
* can be made available.
*
* TESTING_NONE = 0 normal exhibit operation
* TESTING_MANAGEMENT = 1 setup and radar selection
* TESTING_MANAGEMENT = 1 setup and radar selection (02_setup_and_radar_selection)
* TESTING_CHAIN_HOME = 2 chain home A-scope
* TESTING_MARINE_ASCOPE = 3 marine A-scope
* TESTING_MARINE_TRAFFIC = 4 marine traffic control PPI
@@ -54,6 +55,8 @@
* TESTING_TRAFFIC_COP = 6 traffic cop (Thread 2)
* TESTING_SIMULATOR = 7 simulator (Thread 3)
* TESTING_RASPBERRY_PI = 8 raspberry pi receiver (Thread 5)
*
* Read the active mode at runtime via: radar_management[RADAR_NONE].testing
*/
#define TESTING_COMPONENT TESTING_NONE