diff --git a/drivers/include/sdcard_spi.h b/drivers/include/sdcard_spi.h index 5c78dadd5e..93a3240640 100644 --- a/drivers/include/sdcard_spi.h +++ b/drivers/include/sdcard_spi.h @@ -198,7 +198,7 @@ typedef struct { /** * @brief Initializes the sd-card with the given parameters in sdcard_spi_t structure. * The init procedure also takes care of initializing the spi peripheral to master - * mode and performing all neccecary steps to set the sd-card to spi-mode. Reading + * mode and performing all necessary steps to set the sd-card to spi-mode. Reading * the CID and CSD registers is also done within this routine and their * values are copied to the given sdcard_spi_t struct. * diff --git a/drivers/sdcard_spi/include/sdcard_spi_internal.h b/drivers/sdcard_spi/include/sdcard_spi_internal.h index be0d873b7d..aa1ca9e1a6 100644 --- a/drivers/sdcard_spi/include/sdcard_spi_internal.h +++ b/drivers/sdcard_spi/include/sdcard_spi_internal.h @@ -35,7 +35,7 @@ extern "C" { /* number of clocks that should be applied to the card on init - before taking furter actions (see sd spec. 6.4.1.1 Power Up Time of Card) */ + before taking further actions (see sd spec. 6.4.1.1 Power Up Time of Card) */ #define SD_POWERSEQUENCE_CLOCK_COUNT 74 #define SD_CARD_PREINIT_CLOCK_PERIOD_US 10 /* used to generate 100 kHz clock in init phase*/ @@ -100,7 +100,7 @@ extern "C" { #define SD_CMD_24 24 /* Writes a block of the size selected by the SET_BLOCKLEN command */ #define SD_CMD_25 25 /* Continuously writes blocks of data until 'Stop Tran'token is sent */ #define SD_CMD_41 41 /* Reserved (used for ACMD41) */ -#define SD_CMD_55 55 /* Defines to the card that the next commmand is an application specific +#define SD_CMD_55 55 /* Defines to the card that the next command is an application specific command rather than a standard command */ #define SD_CMD_58 58 /* Reads the OCR register of a card */ #define SD_CMD_59 59 /* Turns the CRC option on or off. Argument: 1:on; 0:off */ diff --git a/drivers/sdcard_spi/sdcard_spi.c b/drivers/sdcard_spi/sdcard_spi.c index 5e5aa90abe..d650d749cf 100644 --- a/drivers/sdcard_spi/sdcard_spi.c +++ b/drivers/sdcard_spi/sdcard_spi.c @@ -228,7 +228,7 @@ static sd_init_fsm_state_t _init_sd_fsm_step(sdcard_spi_t *card, sd_init_fsm_sta case SD_INIT_SEND_CMD1: DEBUG("SD_INIT_SEND_CMD1\n"); - DEBUG("COULD TRY CMD1 (for MMC-card)-> currently not suported\n"); + DEBUG("COULD TRY CMD1 (for MMC-card)-> currently not supported\n"); _unselect_card_spi(card); return SD_INIT_CARD_UNKNOWN;