mirror of https://github.com/ArduPilot/ardupilot
AP_AHRS: stop passing serial manager to GPS init
it can get this via the singleton
This commit is contained in:
parent
fa12e08abf
commit
2292a73da1
|
@ -61,7 +61,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();
|
||||||
}
|
}
|
||||||
|
|
||||||
void loop(void)
|
void loop(void)
|
||||||
|
|
Loading…
Reference in New Issue