Commit e7e550fa authored by Jakob Bornecrantz's avatar Jakob Bornecrantz

d/psmv: Fix build

parent a54cdb26
Pipeline #76884 passed with stages
in 3 minutes and 5 seconds
......@@ -1413,7 +1413,7 @@ psmv_get_calibration_zcm2(struct psmv_device *psmv)
if (ret != (int)sizeof(part)) {
PSMV_ERROR(psmv, "Size wrong: %i != %i", ret,
(int)sizeof(*part));
(int)sizeof(part));
return -1;
}
......@@ -1427,7 +1427,7 @@ psmv_get_calibration_zcm2(struct psmv_device *psmv)
dst_offset = sizeof(part);
break;
default:
PSMV_ERROR(psmv, "Unexpected part id! %i", part->which);
PSMV_ERROR(psmv, "Unexpected part id! %i", part.which);
return -1;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment