route debug output back to the CDC-ACM device instead of JLINK

This commit is contained in:
geeksville
2020-09-26 13:49:22 -07:00
parent db33200468
commit 266ba03bb7
3 changed files with 85 additions and 112 deletions

View File

@@ -81,7 +81,7 @@ void NMEAGPS::loop()
}
// expect gps pos lat=37.520825, lon=-122.309162, alt=158
DEBUG_MSG("new NMEA GPS pos lat=%f, lon=%f, alt=%d, hdop=%f, heading=%f\n", latitude * 1e-7, longitude * 1e-7,
DEBUG_MSG("new NMEA GPS pos lat=%f, lon=%f, alt=%d, hdop=%g, heading=%f\n", latitude * 1e-7, longitude * 1e-7,
altitude, dop * 1e-2, heading * 1e-5);
}