From b9b6cf5b60641fd45429dc0bc7eaabe833961cb1 Mon Sep 17 00:00:00 2001 From: Gabriel Staples Date: Sun, 14 Jan 2024 20:52:42 -0700 Subject: [PATCH] FreeRTOS/README.md: add newlines to fix formatting --- FreeRTOS/README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/FreeRTOS/README.md b/FreeRTOS/README.md index c79b1c7..5aae28a 100644 --- a/FreeRTOS/README.md +++ b/FreeRTOS/README.md @@ -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\()(.*),(.*),( )?(.*),(.*),(.*),(.*)(\));(.*) @@ -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\()(.*),(.*),( )*(.*),(.*),(.*),( )*(&)?(.*)(\));(.*) @@ -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\()