Skip to content

Commit 8ab04de

Browse files
committed
fix(spi): typo
Signed-off-by: Frederic Pillon <frederic.pillon@st.com>
1 parent 1ec5b0d commit 8ab04de

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

libraries/SPI/README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,8 @@ void setup() {
3737
#### Change default `SPI` instance pins
3838
It is also possible to change the default pins used by the `SPI` instance using above API:
3939
40-
[[/img/Warning-icon.png|alt="Warning"]] **Have to be called before `begin()`.**
40+
> [!WARNING]
41+
> **Have to be called before `begin()`.**
4142
4243
* `void setMISO(uint32_t miso)`
4344
* `void setMOSI(uint32_t mosi)`
@@ -48,7 +49,8 @@ It is also possible to change the default pins used by the `SPI` instance using
4849
* `void setSCLK(PinName sclk)`
4950
* `void setSSEL(PinName ssel)`
5051
51-
**_Note 1_** Using `setSSEL()` allows to enable hardware CS pin management linked to the SPI peripheral.
52+
> [!NOTE]
53+
> Using `setSSEL()` allows to enable hardware CS pin management linked to the SPI peripheral.
5254
5355
##### Example:
5456
```C++

libraries/SPI/src/SPI.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ void SPIClass::end()
9797
/**
9898
* @brief Deprecated function.
9999
* Configure the bit order: MSB first or LSB first.
100-
* @param _bitOrder: MSBFIRST or LSBFIRST
100+
* @param bitOrder: MSBFIRST or LSBFIRST
101101
*/
102102
void SPIClass::setBitOrder(BitOrder bitOrder)
103103
{

0 commit comments

Comments
 (0)