fix: make Termux location check optional

Location services check now optional since scanner coordinates
are configured in config.yaml. Allows rf-mapper to start on
Termux even when GPS is unavailable (indoors).

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
User
2026-02-01 16:41:33 +01:00
parent cee36e2ce1
commit e27200c5b5

View File

@@ -147,7 +147,7 @@ def check_termux_prerequisites(verbose: bool = True) -> bool:
all_ok = True
checks = [
("Termux:API package", check_termux_api_installed, True), # Required
("Location services", check_location_enabled, True), # Required
("Location services", check_location_enabled, False), # Optional (uses config.yaml coords)
("Wake lock", check_wake_lock, True), # Required
("Termux:Boot", check_termux_boot, False), # Optional
]