Skip to content

Commit 3dafd03

Browse files
committed
chore: review updated file
Signed-off-by: Frederic Pillon <[email protected]>
1 parent 9915bd3 commit 3dafd03

File tree

2 files changed

+5
-9
lines changed

2 files changed

+5
-9
lines changed

src/drivers/sd_diskio.c

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
11
/**
22
******************************************************************************
3-
* @file sd_diskio_template_bspv1.c
3+
* @file sd_diskio.c
44
* @author MCD Application Team
5-
* @brief SD Disk I/O template driver based on BSP v1 api. This file needs
6-
* to be renamed and copied into the application project alongside
7-
* the respective header file
5+
* @brief SD Disk I/O driver based on BSP v1 api.
86
******************************************************************************
97
* @attention
108
*
@@ -211,7 +209,7 @@ DRESULT SD_ioctl(BYTE lun, BYTE cmd, void *buff)
211209
case GET_BLOCK_SIZE :
212210
BSP_SD_GetCardInfo(&CardInfo);
213211
*(DWORD*)buff = CardInfo.LogBlockSize / SD_DEFAULT_BLOCK_SIZE;
214-
res = RES_OK;
212+
res = RES_OK;
215213
break;
216214

217215
default:

src/drivers/sd_diskio.h

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
/**
22
******************************************************************************
3-
* @file sd_diskio_tempalte.h
3+
* @file sd_diskio.h
44
* @author MCD Application Team
5-
* @brief Header for sd_diskio_template.c module.This file needs to be
6-
customized then copied under the application project
5+
* @brief Header for sd_diskio.c module.
76
******************************************************************************
87
* @attention
98
*
@@ -21,7 +20,6 @@
2120
#define __SD_DISKIO_H
2221

2322
/* Includes ------------------------------------------------------------------*/
24-
#include "stm32xxxxx_{eval}{discovery}_sd.h"
2523
/* Exported types ------------------------------------------------------------*/
2624
/* Exported constants --------------------------------------------------------*/
2725
/* Exported functions ------------------------------------------------------- */

0 commit comments

Comments
 (0)