mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-22 16:48:29 -04:00
VARTest: fixed build with compass changes
This commit is contained in:
parent
5f623ac859
commit
20accefe51
@ -133,8 +133,7 @@ void setup() {
|
||||
ofs.x += 1.1;
|
||||
ofs.y += 1.2;
|
||||
ofs.z += 1.3;
|
||||
compass.set_offsets(ofs);
|
||||
compass.save_offsets();
|
||||
compass.set_and_save_offsets(0, ofs);
|
||||
cliSerial->printf_P(PSTR("Compass: %f %f %f\n"),
|
||||
ofs.x, ofs.y, ofs.z);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user