summaryrefslogtreecommitdiffstats
path: root/firmware/export/isp1583.h
diff options
context:
space:
mode:
authorMaurus Cuelenaere <mcuelenaere@gmail.com>2009-02-05 21:47:54 +0000
committerMaurus Cuelenaere <mcuelenaere@gmail.com>2009-02-05 21:47:54 +0000
commitee1e8be37f38dde1e7a34935140f95f13b60685d (patch)
treeb3e7bb0759d4cabb2507d9656d5d653066b9c10f /firmware/export/isp1583.h
parente1aee318782d89e017e1241847706b21ea014974 (diff)
downloadrockbox-ee1e8be37f38dde1e7a34935140f95f13b60685d.tar.gz
rockbox-ee1e8be37f38dde1e7a34935140f95f13b60685d.zip
Creative ZVM:
* Re-enable USB * Acknowledge EP0SETUP packets * Spin disk down when no files get loaded in the bootloader * Clean up/fix some other stuff git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19931 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/export/isp1583.h')
-rw-r--r--firmware/export/isp1583.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/firmware/export/isp1583.h b/firmware/export/isp1583.h
index b65cc078f3..0bdbba886c 100644
--- a/firmware/export/isp1583.h
+++ b/firmware/export/isp1583.h
@@ -52,10 +52,10 @@
#define ISP1583_GEN_UNLCKDEV (*((volatile unsigned short*)(ISP1583_IOBASE+0x7C)))
#define ISP1583_GEN_TSTMOD (*((volatile unsigned char*)(ISP1583_IOBASE+0x84)))
-#define set_int_value(a,b,value) a = value;
+#define set_int_value(a,b,value) (a) = (value);
#endif
-#define ISP1583_UNLOCK_CODE (unsigned short)0xAA37
+#define ISP1583_UNLOCK_CODE ((unsigned short)0xAA37)
/* Initialization registers' bits */