drivers: iis2dlpc: fix typo in log message

Probably copy-pasted from another line.

Signed-off-by: Armin Brauns <armin.brauns@embedded-solutions.at>
This commit is contained in:
Armin Brauns 2024-03-11 09:21:23 +00:00 committed by Maureen Helm
parent dbfc1aaec6
commit b49116c7eb

View file

@ -148,7 +148,7 @@ static int ii2sdlpc_set_slope_th(const struct device *dev, uint16_t th)
err = iis2dlpc_wkup_threshold_set(ctx, th & 0x3F);
if (err) {
LOG_ERR("Could not set WK_THS to 0x%02X, error %d",
th & 0x03, err);
th & 0x3F, err);
return err;
}
return 0;