Skip to content

Commit

Permalink
Fix example commands in HelloWorld.html (#13)
Browse files Browse the repository at this point in the history
* Fix incorrect filename in mv commands

* Update private keyword to be all caps as it is in the code
  • Loading branch information
rwilbur authored Jan 10, 2024
1 parent acabcee commit a311a1a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/HelloWorld.md
Original file line number Diff line number Diff line change
Expand Up @@ -139,8 +139,8 @@ fprime-util impl
`fprime-util impl` creates `HelloWorld.hpp-template` and `HelloWorld.cpp-template` which contain empty functions based on what we have written in the FPP file. While normally one would merge new templates with the existing code, we will instead overwrite the existing implementations as we have not edited those files yet. To do this:

```bash
mv HelloWorld.hpp-template HelloWorld.hpp
mv HelloWorld.cpp-template HelloWorld.cpp
mv HelloWorld.template.hpp HelloWorld.hpp
mv HelloWorld.template.cpp HelloWorld.cpp
```
We are now ready for implementing component behavior.

Expand Down Expand Up @@ -169,7 +169,7 @@ void HelloWorld:: SAY_HELLO_cmdHandler(FwOpcodeType opCode, U32 cmdSeq, const Fw
>
> **HelloWorld.hpp: Adding New Member Variable**
> ```c++
> private:
> PRIVATE:
> U32 m_greetingCount;
> ```
> Should be added inside the `class` definition in `HelloWorld.hpp`.
Expand Down

0 comments on commit a311a1a

Please sign in to comment.