summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sevakis <jethead71@rockbox.org>2007-03-11 16:01:01 +0000
committerMichael Sevakis <jethead71@rockbox.org>2007-03-11 16:01:01 +0000
commite21d21720556bb069f7ceb5669c5b693138838bb (patch)
treee356539d1b8c2a709ef6d472a447637bb05ffc48
parentc7954a0becc84c3d2aa46c8d1df32c39f5dd7232 (diff)
downloadrockbox-e21d21720556bb069f7ceb5669c5b693138838bb.tar.gz
rockbox-e21d21720556bb069f7ceb5669c5b693138838bb.zip
Squeeze the serial number code down a few more bytes and call it a day. Will try to reduce by a significant amount later.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12726 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--firmware/target/coldfire/iaudio/x5/ds2411-x5.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/target/coldfire/iaudio/x5/ds2411-x5.c b/firmware/target/coldfire/iaudio/x5/ds2411-x5.c
index bb85c8e00e..dc5a188ae1 100644
--- a/firmware/target/coldfire/iaudio/x5/ds2411-x5.c
+++ b/firmware/target/coldfire/iaudio/x5/ds2411-x5.c
@@ -36,7 +36,7 @@ static unsigned int ds2411_delay_factor = 0;
36 "1: \n" \ 36 "1: \n" \
37 "subq.l #1, %%d0 \n" \ 37 "subq.l #1, %%d0 \n" \
38 "bhi.s 1b \n" \ 38 "bhi.s 1b \n" \
39 : : [factor]"d"(ds2411_delay_factor), [x]"d"(uS) : "d0"); 39 : : [factor]"d,d"(ds2411_delay_factor), [x]"r,i"(uS) : "d0");
40 40
41/* Calculate the CRC of a byte */ 41/* Calculate the CRC of a byte */
42static unsigned char ds2411_calc_crc(unsigned char byte) 42static unsigned char ds2411_calc_crc(unsigned char byte)