summaryrefslogtreecommitdiff
path: root/firmware/drivers/dac.c
diff options
context:
space:
mode:
authorLinus Nielsen Feltzing <linus@haxx.se>2002-06-25 11:22:53 +0000
committerLinus Nielsen Feltzing <linus@haxx.se>2002-06-25 11:22:53 +0000
commit6dc368a133eee36d04fb63e7ca122f7b06a34a5f (patch)
tree0b9bec01e732bb12088a374e3414309e26b1c691 /firmware/drivers/dac.c
parent6139982672171e8733bccdedca3f0d82ab958b38 (diff)
dac_config() return the wrong error code
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1180 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/drivers/dac.c')
-rw-r--r--firmware/drivers/dac.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/drivers/dac.c b/firmware/drivers/dac.c
index 63695c3c67..0c12a8d912 100644
--- a/firmware/drivers/dac.c
+++ b/firmware/drivers/dac.c
@@ -70,5 +70,5 @@ int dac_config(int value)
}
i2c_end();
- return 0;
+ return ret;
}