Changeset 816 for firmware/trunk/libraries/dipswitch/dipswitch.c
- Timestamp:
- 08/13/08 12:55:38 (5 months ago)
- Files:
-
- 1 modified
-
firmware/trunk/libraries/dipswitch/dipswitch.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
firmware/trunk/libraries/dipswitch/dipswitch.c
r792 r816 31 31 #define DIPSWITCH_DEVICE 2 32 32 33 int DipSwitch_Start( void );34 int DipSwitch_Stop( void );33 static int DipSwitch_Start( void ); 34 static int DipSwitch_Stop( void ); 35 35 36 36 typedef struct … … 175 175 return false; 176 176 else 177 return ((val <<channel) & 0x1);177 return ((val >> channel) & 0x1); 178 178 } 179 179
