VARTest: fixed build with compass changes

This commit is contained in:
Andrew Tridgell 2014-07-12 10:22:25 +10:00
parent 5f623ac859
commit 20accefe51

View File

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