From ee1e8be37f38dde1e7a34935140f95f13b60685d Mon Sep 17 00:00:00 2001 From: Maurus Cuelenaere Date: Thu, 5 Feb 2009 21:47:54 +0000 Subject: 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 --- firmware/export/isp1583.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'firmware/export/isp1583.h') 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 */ -- cgit v1.2.3