Fix build on non-GPS

This commit is contained in:
jacob.eva 2025-02-24 12:05:45 +00:00
parent 1d79b1e8a9
commit db5cbe9552
No known key found for this signature in database
GPG Key ID: 0B92E083BBCCAA1E

View File

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