AP_AHRS: 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 fa12e08abf
commit 2292a73da1
1 changed files with 1 additions and 1 deletions

View File

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