We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6f37ed6 commit ed8b1f6Copy full SHA for ed8b1f6
1 file changed
content/wardrive.js
@@ -1,4 +1,3 @@
1
-console.log("🚀 wardrive.js loaded - DEBUG_GPS_LOGGING:", DEBUG_GPS_LOGGING);
2
// Minimal Wardrive sender with wake locks:
3
// - Connect to MeshCore Companion via Web Bluetooth (BLE)
4
// - Send pings as "@[MapperBot]<LAT LON>[ <power> ]" (power only if specified)
@@ -77,6 +76,8 @@ const state = {
77
76
lastSkipReason: null // Track the reason for the last ping skip
78
};
79
+console.log("🚀 wardrive.js loaded - DEBUG_GPS_LOGGING:", DEBUG_GPS_LOGGING);
80
+
81
// ---- GPS Distance Calculation (Haversine Formula) ----
82
function calculateDistance(lat1, lon1, lat2, lon2) {
83
const R = 6371; // Earth's radius in kilometers
0 commit comments