forked from LK8000/LK8000
-
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- reduced cpu overhead - reduced code dependencies
- Loading branch information
Showing
99 changed files
with
1,187 additions
and
1,362 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,24 @@ | ||
/* | ||
* LK8000 Tactical Flight Computer - WWW.LK8000.IT | ||
* Released under GNU/GPL License v.2 or later | ||
* See CREDITS.TXT file for authors and copyrights | ||
* | ||
* File: devAR620x.h | ||
*/ | ||
|
||
#ifndef DEV_AR620x_H | ||
#define DEV_AR620x_H | ||
|
||
#include "Devices/DeviceRegister.h" | ||
|
||
BOOL AR620xRegister(void); | ||
|
||
int AR620xNMEAddCheckSumStrg( TCHAR szStrg[] ); | ||
BOOL AR620xIsRadio(PDeviceDescriptor_t d); | ||
BOOL AR620xPutVolume(PDeviceDescriptor_t d, int Volume) ; | ||
BOOL AR620xPutSquelch(PDeviceDescriptor_t d, int Squelch) ; | ||
BOOL AR620xPutFreqActive(PDeviceDescriptor_t d, double Freq, const TCHAR* StationName) ; | ||
BOOL AR620xPutFreqStandby(PDeviceDescriptor_t d, double Freq, const TCHAR* StationName) ; | ||
BOOL AR620xStationSwap(PDeviceDescriptor_t d); | ||
BOOL AR620xParseString(PDeviceDescriptor_t d, char *String, int len, NMEA_INFO *info); | ||
BOOL AR620xInstall(PDeviceDescriptor_t d); | ||
BOOL AR620xRadioMode(PDeviceDescriptor_t d, int mode); | ||
|
||
void AR620xInstall(DeviceDescriptor_t* d); | ||
|
||
inline constexpr | ||
DeviceRegister_t AR620xRegister() { | ||
return devRegister( | ||
TEXT("Becker AR620x"), | ||
(1l << dfRadio), | ||
AR620xInstall); | ||
} | ||
|
||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,24 @@ | ||
/* | ||
* LK8000 Tactical Flight Computer - WWW.LK8000.IT | ||
* Released under GNU/GPL License v.2 or later | ||
* See CREDITS.TXT file for authors and copyrights | ||
* | ||
* File: devATR833.h | ||
*/ | ||
|
||
#ifndef DEV_ATR833_H | ||
#define DEV_ATR833_H | ||
|
||
#include "Devices/DeviceRegister.h" | ||
|
||
BOOL ATR833Register(void); | ||
|
||
int ATR833NMEAddCheckSumStrg( TCHAR szStrg[] ); | ||
BOOL ATR833IsRadio(PDeviceDescriptor_t d); | ||
BOOL ATR833PutVolume(PDeviceDescriptor_t d, int Volume) ; | ||
BOOL ATR833PutSquelch(PDeviceDescriptor_t d, int Squelch) ; | ||
BOOL ATR833PutFreqActive(PDeviceDescriptor_t d, double Freq, const TCHAR* StationName) ; | ||
BOOL ATR833PutFreqStandby(PDeviceDescriptor_t d, double Freq, const TCHAR* StationName) ; | ||
BOOL ATR833StationSwap(PDeviceDescriptor_t d); | ||
BOOL ATR833RequestAllData(PDeviceDescriptor_t d) ; | ||
BOOL ATR833ParseString(PDeviceDescriptor_t d, char *String, int len, NMEA_INFO *info); | ||
BOOL ATR833Install(PDeviceDescriptor_t d); | ||
BOOL ATR833RadioMode(PDeviceDescriptor_t d, int mode); | ||
|
||
void ATR833Install(PDeviceDescriptor_t d); | ||
|
||
inline constexpr | ||
DeviceRegister_t ATR833Register(void){ | ||
return devRegister( | ||
TEXT("f.u.n.k.e. ATR833"), | ||
(1l << dfRadio), | ||
ATR833Install); | ||
} | ||
|
||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,21 @@ | ||
/* | ||
* LK8000 Tactical Flight Computer - WWW.LK8000.IT | ||
* Released under GNU/GPL License v.2 or later | ||
* See CREDITS.TXT file for authors and copyrights | ||
* | ||
* File: devBorgeltB50.h | ||
*/ | ||
|
||
#ifndef DEVB50_H | ||
#define DEVB50_H | ||
|
||
#include "Devices/DeviceRegister.h" | ||
|
||
void b50Install(PDeviceDescriptor_t d); | ||
|
||
BOOL b50Install(PDeviceDescriptor_t d); | ||
|
||
BOOL b50Register(void); | ||
inline constexpr | ||
DeviceRegister_t b50Register() { | ||
return devRegister(_T("Borgelt B50"), (1l << dfGPS), b50Install ); | ||
} | ||
|
||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,24 @@ | ||
/* | ||
* LK8000 Tactical Flight Computer - WWW.LK8000.IT | ||
* Released under GNU/GPL License v.2 or later | ||
* See CREDITS.TXT file for authors and copyrights | ||
* | ||
* File: devCAI302.h | ||
*/ | ||
|
||
#ifndef DEVCAI302_H | ||
#define DEVCAI302_H | ||
|
||
#include "Devices/DeviceRegister.h" | ||
|
||
void cai302Install(PDeviceDescriptor_t d); | ||
|
||
inline constexpr | ||
DeviceRegister_t cai302Register() { | ||
constexpr unsigned flags = (1l << dfGPS) | (1l << dfLogger) | (1l << dfSpeed) | ||
| (1l << dfVario) | (1l << dfBaroAlt) | (1l << dfWind); | ||
|
||
return devRegister(_T("CAI 302"), flags, cai302Install); | ||
} | ||
|
||
BOOL cai302Register(void); | ||
BOOL cai302PutBugs(PDeviceDescriptor_t d, double Bugs); | ||
BOOL cai302PutMacCready(PDeviceDescriptor_t d, double MacCready); | ||
BOOL cai302PutBallast(PDeviceDescriptor_t d, double Ballast); | ||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,22 @@ | ||
/* | ||
* LK8000 Tactical Flight Computer - WWW.LK8000.IT | ||
* Released under GNU/GPL License v.2 or later | ||
* See CREDITS.TXT file for authors and copyrights | ||
* | ||
* File: devCompeo.h | ||
*/ | ||
|
||
#ifndef DEVCOMPEO_H | ||
#define DEVCOMPEO_H | ||
|
||
#include "Devices/DeviceRegister.h" | ||
|
||
void CompeoInstall(PDeviceDescriptor_t d); | ||
|
||
|
||
BOOL CompeoRegister(void); | ||
inline constexpr | ||
DeviceRegister_t CompeoRegister() { | ||
constexpr unsigned flags = (1l << dfGPS) | (1l << dfBaroAlt) | (1l << dfSpeed) | (1l << dfVario); | ||
return devRegister( _T("Brauniger/Compeo 5030"), flags, CompeoInstall ); | ||
} | ||
|
||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,24 @@ | ||
/* | ||
* LK8000 Tactical Flight Computer - WWW.LK8000.IT | ||
* Released under GNU/GPL License v.2 or later | ||
* See CREDITS.TXT file for authors and copyrights | ||
* | ||
* File: devCondor.h | ||
*/ | ||
|
||
#ifndef DEVCONDOR_H | ||
#define DEVCONDOR_H | ||
|
||
#include "Devices/DeviceRegister.h" | ||
|
||
void condorInstall(PDeviceDescriptor_t d); | ||
|
||
|
||
BOOL condorRegister(void); | ||
inline constexpr | ||
DeviceRegister_t condorRegister() { | ||
return devRegister( | ||
_T("Condor"), | ||
(1l << dfGPS) | (1l << dfBaroAlt) | (1l << dfSpeed) | (1l << dfVario), | ||
condorInstall ); | ||
} | ||
|
||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,22 @@ | ||
/* | ||
* LK8000 Tactical Flight Computer - WWW.LK8000.IT | ||
* Released under GNU/GPL License v.2 or later | ||
* See CREDITS.TXT file for authors and copyrights | ||
* | ||
* File: devDigifly.h | ||
*/ | ||
|
||
#ifndef DEVDIGIFLY_H | ||
#define DEVDIGIFLY_H | ||
|
||
#include "Devices/DeviceRegister.h" | ||
|
||
void DigiflyInstall(PDeviceDescriptor_t d); | ||
|
||
BOOL DigiflyRegister(void); | ||
inline constexpr | ||
DeviceRegister_t DigiflyRegister(void) { | ||
constexpr unsigned flags = (1l << dfGPS) | (1l << dfBaroAlt) | (1l << dfSpeed) | (1l << dfVario); | ||
return devRegister(_T("Digifly"), flags, DigiflyInstall); | ||
} | ||
|
||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,21 @@ | ||
/* | ||
* LK8000 Tactical Flight Computer - WWW.LK8000.IT | ||
* Released under GNU/GPL License v.2 or later | ||
* See CREDITS.TXT file for authors and copyrights | ||
* | ||
* File: devDisabled.h | ||
*/ | ||
|
||
#ifndef DEVDISABLED_H | ||
#define DEVDISABLED_H | ||
|
||
#include "Devices/DeviceRegister.h" | ||
|
||
BOOL disInstall(PDeviceDescriptor_t d); | ||
BOOL disRegister(void); | ||
void disInstall(PDeviceDescriptor_t d); | ||
|
||
inline constexpr | ||
DeviceRegister_t disRegister() { | ||
return devRegister(_T(DEV_DISABLED_NAME), (1l << dfGPS), disInstall); | ||
} | ||
|
||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,21 @@ | ||
/* | ||
* LK8000 Tactical Flight Computer - WWW.LK8000.IT | ||
* Released under GNU/GPL License v.2 or later | ||
* See CREDITS.TXT file for authors and copyrights | ||
* | ||
* File: devEW.h | ||
*/ | ||
|
||
#ifndef DEVEW_H | ||
#define DEVEW_H | ||
|
||
#include "Devices/DeviceRegister.h" | ||
|
||
BOOL ewInstall(PDeviceDescriptor_t d); | ||
BOOL ewRegister(void); | ||
|
||
void ewInstall(PDeviceDescriptor_t d); | ||
|
||
inline constexpr | ||
DeviceRegister_t ewRegister() { | ||
return devRegister(_T("EW Logger"), 1l << dfGPS | 1l << dfLogger, ewInstall); | ||
} | ||
|
||
#endif |
Oops, something went wrong.