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
LTCApp.h
- Committer:
- JamieB
- Date:
- 2021-09-13
- Revision:
- 60:899862db7f2a
- Parent:
- 56:0d9684c7df36
- Child:
- 61:e734e86661b0
File content as of revision 60:899862db7f2a:
#ifndef __LTCApp_h__ #define __LTCApp_h__ #include "mbed.h" #include "LTCDecode.h" #include "VIPSSerialProtocol.h" #include "frameRates.h" #include "BufferedSerial.h" #include "FIZ_DISNEY.h" #include "FIZ_digiPower.h" #include "FIZDigiPowerActive.h" #include "FIZCanon.h" #include "frameclock.h" #include "FreeD.h" #include <stdint.h> extern volatile uint32_t VBOXTicks; extern volatile bool ppsActive; extern BufferedSerial pc; extern frameRates detectedRate; extern Timer TimeSinceLastFrame; extern uint32_t TimeSinceLastFrameWrap; extern DigitalOut led1; extern void vipsBypassRx(char byte); typedef struct UserSettings_s { int FIZmode; int SerialOutMode; int FreeDPort; int VipsUDPPort; char IPAddress[32]; char Gateway[32]; char Subnet[32]; int FilterOrder; float FilterFreq; float FilterRate; bool FilterXY; bool FilterZ; bool FilterRoll; bool FilterPitch; bool FilterYaw; bool AutoHyperSmooth; bool FlexibleVIPSOut; float SerialTxDelayMS; float UDPTxDelayMS; float SerialTxDelayFrame; float UDPTxDelayFrame; bool InvertRoll; bool InvertPitch; bool InvertYaw; int OffsetRoll; int OffsetPitch; int OffsetYaw; int bypassBaud; bool ForcePPF; } UserSettings_t; extern UserSettings_t UserSettings; #endif