From e27200c5b5d6b42b02f8ada8d4cc27d51a1ba1ac Mon Sep 17 00:00:00 2001 From: User Date: Sun, 1 Feb 2026 16:41:33 +0100 Subject: [PATCH] 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 --- src/rf_mapper/termux.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rf_mapper/termux.py b/src/rf_mapper/termux.py index bb9ce56..aac975c 100644 --- a/src/rf_mapper/termux.py +++ b/src/rf_mapper/termux.py @@ -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 ]