summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
b688e0f)
#include <drv/hsmci_sam3.h>
#include <drv/hsmci_sam3.h>
cid->prod_name[4] = UNSTUFF_BITS(resp, 64, 8);
cid->m_rev = UNSTUFF_BITS(resp, 60, 4);
cid->l_rev = UNSTUFF_BITS(resp, 56, 4);
cid->prod_name[4] = UNSTUFF_BITS(resp, 64, 8);
cid->m_rev = UNSTUFF_BITS(resp, 60, 4);
cid->l_rev = UNSTUFF_BITS(resp, 56, 4);
- cid->serial = UNSTUFF_BITS(resp, 24, 32);
+ cid->serial = (uint32_t)UNSTUFF_BITS(resp, 24, 32);
cid->year_off = UNSTUFF_BITS(resp, 8, 12);
}
cid->year_off = UNSTUFF_BITS(resp, 8, 12);
}
#include <fs/fatfs/diskio.h>
#include <fs/fatfs/diskio.h>