| ... | ... | @@ -41,7 +41,7 @@ Important things to keep in mind: |
|
|
|
|
|
|
|
#### 2. Register logged data types
|
|
|
|
The deserializer needs to know each and every data type that is being logged in order to be able decode it.
|
|
|
|
To do this, we need to create/modify the `LogTypes.h` file and add a new line for each struct in the `registerTypes(...)` function. An example can be found [here](https://github.com/skyward-er/on-board-software/tree/master/src/entrypoints/death-stack-x-decoder).
|
|
|
|
To do this, we need to create/modify the `LogTypes.h` file and add a new line for each struct in the `registerTypes(...)` function. An example can be found [here](https://git.skywarder.eu/avn/swd/obsw/-/tree/main/src%20Lynx/entrypoints/death-stack-x-decoder).
|
|
|
|
The line to be added it's the same for each data type, changing only the name:
|
|
|
|
|
|
|
|
```cpp
|
| ... | ... | |