]> git.tnoah.ca Git - lora-radio.git/commitdiff
Fix build on non-GPS
authorjacob.eva <x00010@disroot.org>
Mon, 24 Feb 2025 12:05:45 +0000 (12:05 +0000)
committerjacob.eva <x00010@disroot.org>
Mon, 24 Feb 2025 12:05:45 +0000 (12:05 +0000)
Utilities.h

index 81e0c44a50ff3dc3b1494f64af651a2475289efc..738e265c9e3710e03a640d360f58cbb15343ec3d 100644 (file)
@@ -1717,6 +1717,7 @@ void unlock_rom() {
 }
 
 void kiss_indicate_location() {
+    #if HAS_GPS
     char location[10];
     int len;
     int32_t val;
@@ -1741,6 +1742,7 @@ void kiss_indicate_location() {
         escaped_serial_write(val);
         serial_write(FEND);
     }
+    #endif
 }
 
 void log_debug(const char* msg) {