I messed up the merge, so pushing it over to another repo so I don't lose it. Will tidy up and remove later
Dependencies: BufferedSerial FatFileSystemCpp mbed
Diff: LTCApp.h
- Revision:
- 82:ee6eed2a51bd
- Parent:
- 81:aee60dcce61b
--- a/LTCApp.h Wed Aug 31 15:46:41 2022 +0000 +++ b/LTCApp.h Mon Nov 14 14:53:12 2022 +0000 @@ -4,6 +4,7 @@ #include "mbed.h" #include "LTCDecode.h" #include "VIPSSerialProtocol.h" +#include "PNTSerial.h" #include "frameRates.h" #include "BufferedSerial.h" #include "FIZ_DISNEY.h" @@ -29,6 +30,8 @@ extern void vipsBypassRx(char byte); +enum positionSource_e {VIPSSource, PNTSource}; + typedef struct UserSettings_s { int FIZmode; int SerialOutMode; @@ -74,6 +77,10 @@ bool absolute_focus; bool absolute_iris; bool absolute_zoom; + enum positionSource_e PositionSource; + double originLat; + double originLon; + float originAlt; vector<unsigned int> focus_encoder_map; vector<unsigned int> focus_absolute_map; vector<unsigned int> iris_encoder_map;