Skip to content

Commit 69fb876

Browse files
authored
📝 shorten spi subtitles (#69)
1 parent 45d9d5b commit 69fb876

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

mkdocs/education/spi.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ write-then-read operations without asserting and de-asserting the chip select
186186
each time, add the `hal::no_cs` token as the first parameter of the utility
187187
APIs.
188188

189-
### `hal::write(hal::spi_channel& p_spi, ...)`
189+
### `hal::write()`
190190

191191
```C++
192192
#include <mutex>
@@ -239,7 +239,7 @@ void hal_write_spi_example(hal::spi_channel& p_spi,
239239
}
240240
```
241241
242-
### `hal::read(hal::spi_channel& p_spi, ...)`
242+
### `hal::read()`
243243
244244
```C++
245245
#include <mutex>
@@ -289,7 +289,7 @@ void hal_read_spi_example(hal::spi_channel& p_spi) {
289289
}
290290
```
291291

292-
### `hal::write_then_read(hal::spi_channel& p_spi, ...)`
292+
### `hal::write_then_read()`
293293

294294
```C++
295295
#include <mutex>

0 commit comments

Comments
 (0)