mirror of https://github.com/ArduPilot/ardupilot
AP_NMEA_Output: stop passing serial manager to GPS init
it can get this via the singleton
This commit is contained in:
parent
2292a73da1
commit
85d1724c69
|
@ -74,7 +74,7 @@ void setup(void)
|
||||||
if(!AP::compass().read()) {
|
if(!AP::compass().read()) {
|
||||||
hal.console->printf("No compass detected\n");
|
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);
|
AP::rtc().set_utc_usec(1546300800000, AP_RTC::source_type::SOURCE_GPS);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue