summaryrefslogtreecommitdiff
path: root/doc/code
diff options
context:
space:
mode:
authorRiku Isokoski <riksu9000@gmail.com>2021-11-08 18:16:28 +0200
committerJF <JF002@users.noreply.github.com>2021-11-28 13:42:37 +0100
commita326e22986f69e40572e8ef0c0efde854ea7d386 (patch)
tree18ec071f857d4423d344ca75f96547dd3d1e78ca /doc/code
parent3375c4e18764cd0ed1be8898a21695ff60540b22 (diff)
Add line break
Diffstat (limited to 'doc/code')
-rw-r--r--doc/code/Intro.md1
1 files changed, 1 insertions, 0 deletions
diff --git a/doc/code/Intro.md b/doc/code/Intro.md
index 6764e588..bf68c7a5 100644
--- a/doc/code/Intro.md
+++ b/doc/code/Intro.md
@@ -22,6 +22,7 @@ It also starts the **task "displayapp"**, which is responsible for launching and
You can find the "displayapp" task inside [displayapp/DisplayApp.cpp](/src/displayapp/DisplayApp.cpp).
There are also other tasks that are responsible for Bluetooth ("ll" and "ble" inside [libs/mynewt-nimble/porting/npl/freertos/src/nimble_port_freertos.c](/src/libs/mynewt-nimble/porting/npl/freertos/src/nimble_port_freertos.c))
and periodic tasks like heartrate measurements ([heartratetask/HeartRateTask.cpp](/src/heartratetask/HeartRateTask.cpp)).
+
While it is possible for you to create your own task when you need it, it is recommended to just add functionality to `SystemTask::Work()` if possible.
If you absolutely need to create another task, try to guess how much [stack space](https://www.freertos.org/FAQMem.html#StackSize) (in words/4-byte packets)
it will need instead of just typing in a large-ish number.