From 85d1724c69d3a786c41c62379641e4a23994072f Mon Sep 17 00:00:00 2001 From: Peter Barker <pbarker@barker.dropbear.id.au> Date: Mon, 18 Mar 2024 09:34:25 +1100 Subject: [PATCH] AP_NMEA_Output: stop passing serial manager to GPS init it can get this via the singleton --- libraries/AP_NMEA_Output/examples/NMEA_Output/nmea_output.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/AP_NMEA_Output/examples/NMEA_Output/nmea_output.cpp b/libraries/AP_NMEA_Output/examples/NMEA_Output/nmea_output.cpp index 554e766324..87a1b61462 100644 --- a/libraries/AP_NMEA_Output/examples/NMEA_Output/nmea_output.cpp +++ b/libraries/AP_NMEA_Output/examples/NMEA_Output/nmea_output.cpp @@ -74,7 +74,7 @@ void setup(void) if(!AP::compass().read()) { hal.console->printf("No compass detected\n"); } - AP::gps().init(serial_manager); + AP::gps().init(); AP::rtc().set_utc_usec(1546300800000, AP_RTC::source_type::SOURCE_GPS); }