diff options
Diffstat (limited to 'os')
-rw-r--r-- | os/hal/ports/STM32/LLD/SDIOv1/hal_sdc_lld.c | 4 | ||||
-rw-r--r-- | os/hal/ports/STM32/LLD/SDMMCv1/hal_sdc_lld.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/os/hal/ports/STM32/LLD/SDIOv1/hal_sdc_lld.c b/os/hal/ports/STM32/LLD/SDIOv1/hal_sdc_lld.c index 83f582b74..91074453f 100644 --- a/os/hal/ports/STM32/LLD/SDIOv1/hal_sdc_lld.c +++ b/os/hal/ports/STM32/LLD/SDIOv1/hal_sdc_lld.c @@ -145,7 +145,7 @@ static bool sdc_lld_prepare_read(SDCDriver *sdcp, uint32_t startblk, startblk, resp) || MMCSD_R1_ERROR(resp[0]))
return HAL_FAILED;
}
- else{
+ else {
/* Send read single block command.*/
if (sdc_lld_send_cmd_short_crc(sdcp, MMCSD_CMD_READ_SINGLE_BLOCK,
startblk, resp) || MMCSD_R1_ERROR(resp[0]))
@@ -183,7 +183,7 @@ static bool sdc_lld_prepare_write(SDCDriver *sdcp, uint32_t startblk, startblk, resp) || MMCSD_R1_ERROR(resp[0]))
return HAL_FAILED;
}
- else{
+ else {
/* Write single block command.*/
if (sdc_lld_send_cmd_short_crc(sdcp, MMCSD_CMD_WRITE_BLOCK,
startblk, resp) || MMCSD_R1_ERROR(resp[0]))
diff --git a/os/hal/ports/STM32/LLD/SDMMCv1/hal_sdc_lld.c b/os/hal/ports/STM32/LLD/SDMMCv1/hal_sdc_lld.c index 01a2eda9d..d22fb31d6 100644 --- a/os/hal/ports/STM32/LLD/SDMMCv1/hal_sdc_lld.c +++ b/os/hal/ports/STM32/LLD/SDMMCv1/hal_sdc_lld.c @@ -186,7 +186,7 @@ static bool sdc_lld_prepare_read(SDCDriver *sdcp, uint32_t startblk, startblk, resp) || MMCSD_R1_ERROR(resp[0]))
return HAL_FAILED;
}
- else{
+ else {
/* Send read single block command.*/
if (sdc_lld_send_cmd_short_crc(sdcp, MMCSD_CMD_READ_SINGLE_BLOCK,
startblk, resp) || MMCSD_R1_ERROR(resp[0]))
@@ -224,7 +224,7 @@ static bool sdc_lld_prepare_write(SDCDriver *sdcp, uint32_t startblk, startblk, resp) || MMCSD_R1_ERROR(resp[0]))
return HAL_FAILED;
}
- else{
+ else {
/* Write single block command.*/
if (sdc_lld_send_cmd_short_crc(sdcp, MMCSD_CMD_WRITE_BLOCK,
startblk, resp) || MMCSD_R1_ERROR(resp[0]))
|