View Single Post
Old September 27th, 2006   #7
sjackman
Task Group Member
 
Join Date: Sep 2006
Posts: 26
Default

The header file is missing a */ to end a comment on line 545, which annoys GCC.

../rdm-e120.h:546:1: error: "/*" within comment

Cheers,
Shaun

--- rdm-e120.h 19 Sep 2006 19:51:24 -0000 1.1
+++ rdm-e120.h 27 Sep 2006 19:59:26 -0000
@@ -542,7 +542,7 @@
#define E120_DS_UNSIGNED_WORD 0x05 /* Data is an array of unsigned 16-bit words */
#define E120_DS_SIGNED_WORD 0x06 /* Data is an array of signed 16-bit words */
#define E120_DS_UNSIGNED_DWORD 0x07 /* Data is an array of unsigned 32-bit words */
-#define E120_DS_SIGNED_DWORD 0x08 /* Data is an array of signed 32-bit words
+#define E120_DS_SIGNED_DWORD 0x08 /* Data is an array of signed 32-bit words */
/* Manufacturer-Specific Data Types 0x80-
0xDF */
sjackman is offline   Reply With Quote