Use macro
Signed-off-by: TheJackiMonster <thejackimonster@gmail.com>
This commit is contained in:
parent
358923e19b
commit
0717ad9cd5
1 changed files with 1 additions and 1 deletions
|
@ -648,7 +648,7 @@ int device3_calibrate(device3_type* device, uint32_t iterations, bool gyro, bool
|
||||||
);
|
);
|
||||||
|
|
||||||
if (transferred == -1) {
|
if (transferred == -1) {
|
||||||
fprintf(stderr, "Device may be unplugged");
|
device3_error("Device may be unplugged");
|
||||||
return -4;
|
return -4;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Reference in a new issue