Use macro

Signed-off-by: TheJackiMonster <thejackimonster@gmail.com>
This commit is contained in:
TheJackiMonster 2023-09-08 00:40:51 +02:00
parent 358923e19b
commit 0717ad9cd5
No known key found for this signature in database
GPG key ID: D850A5F772E880F9

View file

@ -648,7 +648,7 @@ int device3_calibrate(device3_type* device, uint32_t iterations, bool gyro, bool
);
if (transferred == -1) {
fprintf(stderr, "Device may be unplugged");
device3_error("Device may be unplugged");
return -4;
}