1
0
Fork 0

Remove unused copy&pasted nmea code from other protocol's source.

This commit is contained in:
ThorstenB 2017-11-13 19:10:36 +01:00
parent f6ce434241
commit 6077ef8cdd

View file

@ -46,28 +46,6 @@ FGAV400::~FGAV400() {
}
#if 0
// calculate the garmin check sum
static char calc_nmea_cksum(char *sentence) {
unsigned char sum = 0;
int i, len;
// cout << sentence << endl;
len = strlen(sentence);
sum = sentence[0];
for ( i = 1; i < len; i++ ) {
// cout << sentence[i];
sum ^= sentence[i];
}
// cout << endl;
// printf("sum = %02x\n", sum);
return sum;
}
#endif
// generate AV400 message
bool FGAV400::gen_message() {
// cout << "generating garmin message" << endl;