Skip to content

Commit 84a93b5

Browse files
authored
docs: Fix a few typos (#606)
* docs: Fix a few typos There are small typos in: - doc/versioning.md - src/components/ble/NimbleController.cpp - src/libs/mynewt-nimble/CODING_STANDARDS.md - src/libs/mynewt-nimble/docs/btshell/btshell_GAP.rst - src/systemtask/SystemTask.cpp Fixes: - Should read `milliseconds` rather than `miliseconds`. - Should read `unnecessary` rather than `uncesseray`. - Should read `target` rather than `tharget`. - Should read `project` rather than `projct`. - Should read `preferred` rather than `prefered`. - Should read `functioning` rather than `functionning`. - Should read `forever` rather than `forver`. - Should read `existing` rather than `exisiting`.
1 parent c9aeef9 commit 84a93b5

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

cmake-nRF5x/readme.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ The script makes use of the following tools:
9898

9999
After setup you can use cmake as usual:
100100

101-
1. Generate the actual build files (out-of-source builds are strongly recomended):
101+
1. Generate the actual build files (out-of-source builds are strongly recommended):
102102

103103
```commandline
104104
cmake -H. -B"cmake-build" -G "Unix Makefiles"

doc/versioning.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ The versioning of this project is based on [Semantic versionning](https://semver
33

44
- The **patch** is incremented when we fix a bug on a **released** version (most of the time using a **hotfix** branch).
55
- The **minor** is incremented when we release a new version with new features. It corresponds to a merge of **develop** into **master**.
6-
- The **major** should be incremented when a breaking change is made to the application. We still have to define what is a breaking change in the context of this project. For now, I suggest that it stays **0** until we have a fully functionning firmware suited for the final user.
6+
- The **major** should be incremented when a breaking change is made to the application. We still have to define what is a breaking change in the context of this project. For now, I suggest that it stays **0** until we have a fully functioning firmware suited for the final user.

src/components/ble/NimbleController.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ void NimbleController::StartAdvertising() {
126126
// ASSERT(res == 0);// TODO I've disabled these ASSERT as they sometime asserts and reset the mcu.
127127
// For now, the advertising is restarted as soon as it ends. There may be a race condition
128128
// that prevent the advertising from restarting reliably.
129-
// I remove the assert to prevent this uncesseray crash, but in the long term, the management of
129+
// I remove the assert to prevent this unnecessary crash, but in the long term, the management of
130130
// the advertising should be improve (better error handling, and advertise for 3 minutes after
131131
// the application has been woken up, for example.
132132
}

src/systemtask/SystemTask.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -350,7 +350,7 @@ void SystemTask::Work() {
350350
if (bleDiscoveryTimer == 0) {
351351
isBleDiscoveryTimerRunning = false;
352352
// Services discovery is deffered from 3 seconds to avoid the conflicts between the host communicating with the
353-
// tharget and vice-versa. I'm not sure if this is the right way to handle this...
353+
// target and vice-versa. I'm not sure if this is the right way to handle this...
354354
nimbleController.StartDiscovery();
355355
} else {
356356
bleDiscoveryTimer--;

0 commit comments

Comments
 (0)