From 8cc40f73e62adbb8351a0180aa779cdd546170cb Mon Sep 17 00:00:00 2001 From: Thomas Perl Date: Mon, 30 Sep 2024 10:36:44 +0200 Subject: [PATCH] magnetometer_calibration: Improve error message for USB connections (closes #496) --- src/utils/magnetometer_calibration.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/utils/magnetometer_calibration.c b/src/utils/magnetometer_calibration.c index fc2a0996..4e00c06c 100644 --- a/src/utils/magnetometer_calibration.c +++ b/src/utils/magnetometer_calibration.c @@ -227,7 +227,9 @@ main(int arg, char** args) } else { - printf("Ignoring non-Bluetooth PS Move #%d\n", i); + printf("Ignoring PS Move #%d; you need to connect it via Bluetooth (not USB) for calibration.\n", i); + psmove_disconnect(move); + continue; } } else