Skip to content

Commit b0e6c6f

Browse files
Fix typos and duplicated words in port patterns guide (#5020)
* docs: fix typos and duplicated words in port patterns guide - Corrected multiple instances of "patten" to "pattern" in the Callback Ports section. - Removed a duplicated "is" in the Parallel Ports implementation section. * fix typo --------- Co-authored-by: Thomas Boyer-Chammard <49786685+thomas-bc@users.noreply.github.com>
1 parent fca26cb commit b0e6c6f

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

.nav.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ nav:
2525
- Framework: docs/user-manual/framework/
2626
- FPP: 'https://nasa.github.io/fpp/fpp-users-guide.html'
2727
- GDS: docs/user-manual/gds
28-
- Design Pattens: docs/user-manual/design-patterns/
28+
- Design Patterns: docs/user-manual/design-patterns/
2929
- Build System: docs/user-manual/build-system/
3030
- Security: docs/user-manual/security/
3131
- How To: docs/how-to

docs/user-manual/design-patterns/common-port-patterns.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ Callback ports can be of any instance kind (`sync`, `guarded`, `async`) but are
8989

9090
### Implementation
9191

92-
The requestor side of the callback port patten instantiates an `output` request port instance of any port type, and an `input` receive port instance of any type. In the example below, `Fw.Signal` is used as the request type, and response port types, however; any port type may be used.
92+
The requestor side of the callback port pattern instantiates an `output` request port instance of any port type, and an `input` receive port instance of any type. In the example below, `Fw.Signal` is used as the request type, and response port types, however; any port type may be used.
9393

9494
```fpp
9595
component MyRequestor {
@@ -124,7 +124,7 @@ connections CallbackPattern {
124124

125125
### Conclusion
126126

127-
The callback port patten is used to separate a request from the response allowing the requestor to return to other work while the request is completed.
127+
The callback port pattern is used to separate a request from the response allowing the requestor to return to other work while the request is completed.
128128

129129
## Parallel Ports
130130

@@ -182,7 +182,7 @@ connections ParallelPorts {
182182
}
183183
```
184184

185-
Notice how `comp0` in this snippet is is wired to `myComponent`'s ports always using the 0th index. The same is true for `comp1` on the 1st index. This allows the component to correlate the remote component via index.
185+
Notice how `comp0` in this snippet is wired to `myComponent`'s ports always using the 0th index. The same is true for `comp1` on the 1st index. This allows the component to correlate the remote component via index.
186186

187187
In the C++ implementation this would look like:
188188

0 commit comments

Comments
 (0)