Changeset 616e73c in mainline for uspace/srv/fs/fat/fat_fat.c
- Timestamp:
- 2011-06-27T18:51:15Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- efa8ed93
- Parents:
- c4bbca8
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/fs/fat/fat_fat.c
rc4bbca8 r616e73c 346 346 byte2 = ((uint8_t*) b->data)[(offset % BPS(bs))+1]; 347 347 348 #ifdef __BE__ 349 *value = byte2 | (byte1 << 8); 350 #else 351 *value = byte1 | (byte2 << 8); 352 #endif 353 354 *value = uint16_t_le2host(*value); 348 *value = uint16_le2host(byte1 | (byte2 << 8)); 355 349 if (IS_ODD(clst)) 356 350 *value = (*value) >> 4;
Note:
See TracChangeset
for help on using the changeset viewer.