Skip to content

Commit 9e54709

Browse files
committed
fix: whitespaces be damned
1 parent e484faf commit 9e54709

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

doc/guides/c_tutorials/saul.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ Next we need to include the necessary headers in our `main.c` file. Add the foll
3434

3535
We need:
3636
- `stdio.h` for the `printf` function,
37-
- `board.h` for the board specific configuration,
37+
- `board.h` for the board specific configuration,
3838
- `ztimer.h` for the ztimer module so we can sleep for a while,
3939
- and `saul_reg.h` for the SAUL registry and related functions.
4040

@@ -55,7 +55,7 @@ search for `SAUL_SENSE_TEMP` devices.
5555
```
5656

5757
This doesn't actually guerantee that the sensor is available, which is why we also need to
58-
check if the sensor truly exists. To do this we create a simple if statement that checks
58+
check if the sensor truly exists. To do this we create a simple if statement that checks
5959
whether the result of the function was `NULL` or not.
6060

6161
```c

doc/guides/c_tutorials/threads.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ Lastly, we need to actually start the thread. Go into your `main` function and i
5454
int main(void) {
5555
thread_create(my_thread_stack, sizeof(my_thread_stack),
5656
THREAD_PRIORITY_MAIN - 1, 0, my_first_thread, NULL,
57-
"My first thread");
57+
"My first thread");
5858

5959
puts("Hello, from the main thread!");
6060
}

examples/guides/threads/main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ void *my_first_thread(void *arg) {
1515
int main(void) {
1616
thread_create(my_thread_stack, sizeof(my_thread_stack),
1717
THREAD_PRIORITY_MAIN - 1, 0, my_first_thread, NULL,
18-
"My first thread");
18+
"My first thread");
1919

2020
puts("Hello, from the main thread!");
2121
}

0 commit comments

Comments
 (0)