Skip to content
Snippets Groups Projects
Commit af7220c2 authored by Leandro Lanzieri's avatar Leandro Lanzieri
Browse files

drivers/sds011: Fix SAUL read error return

parent 805efb69
No related branches found
No related tags found
No related merge requests found
......@@ -36,7 +36,7 @@ static int _read(const void *dev, phydat_t *res)
res->scale = -7;
return 2;
}
return ECANCELED;
return -ECANCELED;
}
const saul_driver_t sds011_saul_driver = {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment