Skip to content

Commit

Permalink
[NUCLEO_L031K6] Hard tabs removal
Browse files Browse the repository at this point in the history
  • Loading branch information
svastm committed Apr 22, 2016
1 parent 290f9fe commit ac10c80
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ typedef enum {
PortA = 0,
PortB = 1,
PortC = 2,
PortD = 3,
PortH = 7
PortD = 3,
PortH = 7
} PortName;

#ifdef __cplusplus
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ void spi_init(spi_t *obj, PinName mosi, PinName miso, PinName sclk, PinName ssel
if (obj->spi == SPI_1) {
__SPI1_CLK_ENABLE();
}

#if defined(SPI2_BASE)
if (obj->spi == SPI_2) {
__SPI2_CLK_ENABLE();
Expand Down

0 comments on commit ac10c80

Please sign in to comment.