Skip to content
This repository was archived by the owner on Jan 28, 2021. It is now read-only.

Commit 1930f42

Browse files
committed
Update Theory.md
1 parent 4430985 commit 1930f42

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Theory.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ Version 2 of the library does things differently. Whilst of course trying to kee
2626
- The payload for **packetAuto** is allocated dynamically in RAM and deleted after use.
2727
- If insufficient RAM is available, the code falls back to using **packetCfg** to buffer the data instead.
2828
- The library no longer uses 'global' (permanently-allocated) storage for the GNSS data. Instead:
29-
- Each message type has a **typedef struct** defined which matches the format of the UBX message. (_typedef structs_ are just definitions, they don't occupy memory.) You can find the definitions in _u-blox_structs.h_.
29+
- Each message type has a **typedef struct** defined which matches the format of the UBX message. (_typedef structs_ are just definitions, they don't occupy memory.) You can find the definitions in [_**u-blox_structs.h**_](./src/u-blox_structs.h).
3030
- The struct allows each data field (latitude, longitude, etc.) to be read simply and easily using dot notation. Flags etc. are supported by bit definitions in the struct. The field names are as defined in the u-blox interface description.
3131
- Storage for that message is only _allocated_ in RAM if/when required. The allocation is done using _new_ via a pointer to the struct.
3232
- _Any_ message can be "auto" if required, but can be polled too.

0 commit comments

Comments
 (0)