firmware icon indicating copy to clipboard operation
firmware copied to clipboard

Move variant-specific lines back to variant

Open fifieldt opened this issue 9 months ago • 0 comments
trafficstars

Last release a change introduced different branching functions in gps.cpp based on the model of a device. This makes the code less readable and introduces the potential for bugs.

This patch creates a new variable, GPS_PROBETRIES that can be set in variant.h of devices that will control how many times we will probe for GPS presence. It sets up the T1000-E to use this variable and cleans the code in gps.c

fifieldt avatar Feb 13 '25 01:02 fifieldt