Changeset 1564 for branches/release-1_0
- Timestamp:
- 01/16/12 02:33:38 (16 months ago)
- Location:
- branches/release-1_0/platform
- Files:
-
- 3 edited
-
g12/main.c (modified) (1 diff)
-
sx30/main.c (modified) (1 diff)
-
sx40hs/main.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/release-1_0/platform/g12/main.c
r1106 r1564 29 29 30 30 int screen_opened(void) { 31 return !(physw_status[0] & 0x80000000);31 return (physw_status[0] & 0x80000000); 32 32 } 33 33 -
branches/release-1_0/platform/sx30/main.c
r1106 r1564 29 29 30 30 int screen_opened(void) { 31 // mode |= (physw_status[1] & 0x01000000)?0:MODE_SCREEN_OPENED; 32 return !(physw_status[1] & 0x02000000); 31 return (physw_status[1] & 0x02000000); 33 32 } 34 33 35 34 int screen_rotated(void) { 36 // mode |= (physw_status[1] & 0x00080000)?0:MODE_SCREEN_ROTATED;37 35 return !(physw_status[1] & 0x00800000); 38 36 } -
branches/release-1_0/platform/sx40hs/main.c
r1414 r1564 29 29 30 30 int screen_opened(void) { 31 return !(physw_status[2] & 0x00000400);31 return (physw_status[2] & 0x00000400); 32 32 } 33 33
Note: See TracChangeset
for help on using the changeset viewer.