Skip to content

Commit

Permalink
FreeRTOS/README.md: add newlines to fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
ElectricRCAircraftGuy committed Jan 15, 2024
1 parent 8f8a6d5 commit b9b6cf5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions FreeRTOS/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ These replacements can be done either programmatically at the command line, or m

1. Find and replace all instances of `xTaskCreate()` with `xTaskCreateStatic()`
1. Example 1:

Find:
```
^(.*)(xTaskCreate\()(.*),(.*),( )?(.*),(.*),(.*),(.*)(\));(.*)
Expand All @@ -40,6 +41,7 @@ These replacements can be done either programmatically at the command line, or m
1. Example 2 (BETTER--USE THIS ONE):
1. Step 1: replace all instances of `xTaskCreate()` with `xTaskCreateStatic()`
Find:
```
^(.*)(xTaskCreate\()(.*),(.*),( )*(.*),(.*),(.*),( )*(&)?(.*)(\));(.*)
Expand All @@ -50,6 +52,7 @@ These replacements can be done either programmatically at the command line, or m
```
1. Step 2: replace all instances of `NULL = xTaskCreateStatic(` (which happened in Step 1 cases where the last parameter passed to `xTaskCreate()` was `NULL`) with just `xTaskCreateStatic(`
Find:
```
^(.*)(NULL = xTaskCreateStatic\()
Expand Down

0 comments on commit b9b6cf5

Please sign in to comment.