Skip to content

Commit

Permalink
Rover: stop passing serial manager to GPS init
Browse files Browse the repository at this point in the history
it can get this via the singleton
  • Loading branch information
peterbarker committed Mar 17, 2024
1 parent 77f1d1c commit 6c18c31
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Rover/system.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ void Rover::init_ardupilot()

// Do GPS init
gps.set_log_gps_bit(MASK_LOG_GPS);
gps.init(serial_manager);
gps.init();

ins.set_log_raw_bit(MASK_LOG_IMU_RAW);

Expand Down

0 comments on commit 6c18c31

Please sign in to comment.