[hamradio-commits] [dump1090] 171/389: Version update for Ulrich
Matthew Ernisse
mernisse-guest at moszumanska.debian.org
Wed Nov 5 00:19:52 UTC 2014
This is an automated email from the git hooks/post-receive script.
mernisse-guest pushed a commit to branch master
in repository dump1090.
commit df4a24bf1454d2023cd72887a33a4eafb117b71f
Author: Malcolm Robb <Support at ATTAvionics.com>
Date: Tue May 14 10:49:57 2013 +0100
Version update for Ulrich
Updated the version number for Ulrich's code
Replaced some Tabs with spaces
Forward declaration of the fixBitErrors() function required for M$ VC
6.0 to suppress warning messages.
---
dump1090.c | 11 ++++++-----
1 file changed, 6 insertions(+), 5 deletions(-)
diff --git a/dump1090.c b/dump1090.c
index f54deca..2b17a08 100644
--- a/dump1090.c
+++ b/dump1090.c
@@ -56,7 +56,7 @@
// MinorVer changes when additional features are added, but not for bug fixes (range 00-99)
// DayDate & Year changes for all changes, including for bug fixes. It represent the release date of the update
//
-#define MODES_DUMP1090_VERSION "1.05.1205.13"
+#define MODES_DUMP1090_VERSION "1.05.1305.13"
#define MODES_USER_LATITUDE_DFLT (0.0)
#define MODES_USER_LONGITUDE_DFLT (0.0)
@@ -327,6 +327,7 @@ void modesSendRawOutput(struct modesMessage *mm);
void modesSendBeastOutput(struct modesMessage *mm);
void modesSendSBSOutput(struct modesMessage *mm);
void useModesMessage(struct modesMessage *mm);
+int fixBitErrors(unsigned char *msg, int bits);
int fixSingleBitErrors(unsigned char *msg, int bits);
int fixTwoBitsErrors(unsigned char *msg, int bits);
void modesInitErrorInfo();
@@ -2470,10 +2471,10 @@ void detectModeS(uint16_t *m, uint32_t mlen) {
Modes.stat_badcrc++;
Modes.stat_fixed++;
if (mm.correctedbits == 1) {
- Modes.stat_single_bit_fix++;
- } else if (mm.correctedbits == 2) {
- Modes.stat_two_bits_fix++;
- }
+ Modes.stat_single_bit_fix++;
+ } else if (mm.correctedbits == 2) {
+ Modes.stat_two_bits_fix++;
+ }
}
}
}
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-hamradio/dump1090.git
More information about the pkg-hamradio-commits
mailing list