summaryrefslogtreecommitdiff
path: root/firmware/target/arm/pp
diff options
context:
space:
mode:
authorMihail Zenkov <mihail.zenkov@gmail.com>2016-04-06 00:00:57 +0000
committerMihail Zenkov <mihail.zenkov@gmail.com>2016-04-06 00:00:57 +0000
commitc5c4ea46481a492c13e5c604906c8c757316e452 (patch)
tree34df9d47885633b37cc6f4aa079be9ea8f9266e5 /firmware/target/arm/pp
parentc7daef36c5c75b8541d38cec4793826ab085d5ad (diff)
fix red
Change-Id: Iaec43120ef213d9a3c77201bdf50ebbedd1c5b76
Diffstat (limited to 'firmware/target/arm/pp')
-rw-r--r--firmware/target/arm/pp/ascodec-pp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/firmware/target/arm/pp/ascodec-pp.c b/firmware/target/arm/pp/ascodec-pp.c
index eb8093c841..cebe5e2f6b 100644
--- a/firmware/target/arm/pp/ascodec-pp.c
+++ b/firmware/target/arm/pp/ascodec-pp.c
@@ -66,9 +66,9 @@ void audiohw_init(void)
audiohw_preinit();
}
-int ascodec_write(unsigned int reg, unsigned int value)
+void ascodec_write(unsigned int reg, unsigned int value)
{
- return pp_i2c_send(AS3514_I2C_ADDR, reg, value);
+ pp_i2c_send(AS3514_I2C_ADDR, reg, value);
}
int ascodec_read(unsigned int reg)