Skip to content

Commit 8cc40f7

Browse files
committed
magnetometer_calibration: Improve error message for USB connections (closes #496)
1 parent 26e1446 commit 8cc40f7

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

src/utils/magnetometer_calibration.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,9 @@ main(int arg, char** args)
227227
}
228228
else
229229
{
230-
printf("Ignoring non-Bluetooth PS Move #%d\n", i);
230+
printf("Ignoring PS Move #%d; you need to connect it via Bluetooth (not USB) for calibration.\n", i);
231+
psmove_disconnect(move);
232+
continue;
231233
}
232234
}
233235
else

0 commit comments

Comments
 (0)