updating lib *.c

This commit is contained in:
hathach
2013-09-12 14:26:20 +07:00
parent 239864c6cf
commit 8a8537d7e5
12 changed files with 1163 additions and 16 deletions

View File

@@ -341,7 +341,7 @@ int32_t SSP_ReadWrite (LPC_SSPn_Type *SSPx, SSP_DATA_SETUP_Type *dataCfg, \
// Clear status
SSPx->ICR = SSP_ICR_BITMASK;
if(SSP_GetDataSize(SSPx)>8)
if(SSP_GetDataSize(SSPx) > SSP_DATABIT_8)
dataword = 1;
else dataword = 0;