Skip to content
Snippets Groups Projects
Commit 2311cdda authored by Vincent Dupont's avatar Vincent Dupont
Browse files

drivers/adcxx1c: fix phydat usage in saul wrapper

parent 6cf48416
No related branches found
No related tags found
No related merge requests found
......@@ -26,7 +26,7 @@
static int read_adc(const void *dev, phydat_t *res)
{
if (adcxx1c_read_raw((const adcxx1c_t *)dev, res->val)) {
if (adcxx1c_read_raw((const adcxx1c_t *)dev, &res->val[0])) {
return -ECANCELED;
}
......
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