AP_NMEA_Output: stop passing serial manager to GPS init

it can get this via the singleton
This commit is contained in:
Peter Barker 2024-03-18 09:34:25 +11:00 committed by Andrew Tridgell
parent 2292a73da1
commit 85d1724c69
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}