Publish V1.08.2302.14
Final tidy up and publish
This commit is contained in:
parent
260b955f47
commit
97c7f69c83
BIN
coaa1090.obj
BIN
coaa1090.obj
Binary file not shown.
|
@ -254,8 +254,6 @@ void rtlsdrCallback(unsigned char *buf, uint32_t len, void *ctx) {
|
|||
// Lock the data buffer variables before accessing them
|
||||
pthread_mutex_lock(&Modes.data_mutex);
|
||||
|
||||
rtlsdrStats(buf);
|
||||
|
||||
Modes.iDataIn &= (MODES_ASYNC_BUF_NUMBER-1); // Just incase!!!
|
||||
|
||||
// Get the system time for this block
|
||||
|
@ -642,7 +640,6 @@ int main(int argc, char **argv) {
|
|||
// If we lost some blocks, correct the timestamp
|
||||
if (Modes.iDataLost) {
|
||||
Modes.timestampBlk += (MODES_ASYNC_BUF_SAMPLES * 6 * Modes.iDataLost);
|
||||
uRtlLost+= Modes.iDataLost;
|
||||
Modes.iDataLost = 0;
|
||||
}
|
||||
|
||||
|
|
|
@ -37,7 +37,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.07.2202.14"
|
||||
#define MODES_DUMP1090_VERSION "1.08.2302.14"
|
||||
|
||||
// ============================= Include files ==========================
|
||||
|
||||
|
|
|
@ -21,7 +21,7 @@ all: dump1090
|
|||
$(CC) $(CFLAGS) $(EXTRACFLAGS) -c $<
|
||||
|
||||
dump1090: dump1090.o anet.o interactive.o mode_ac.o mode_s.o net_io.o
|
||||
$(CC) -g -o dump1090 dump1090.o anet.o interactive.o mode_ac.o mode_s.o net_io.o $(LIBS)
|
||||
$(CC) -g -o dump1090 dump1090.o anet.o interactive.o mode_ac.o mode_s.o net_io.o $(LIBS) $(LDFLAGS)
|
||||
|
||||
clean:
|
||||
rm -f *.o dump1090
|
||||
|
|
|
@ -21,7 +21,7 @@ all: ppup1090
|
|||
$(CC) $(CFLAGS) $(EXTRACFLAGS) -c $<
|
||||
|
||||
ppup1090: ppup1090.o anet.o interactive.o mode_ac.o mode_s.o net_io.o
|
||||
$(CC) -g -o ppup1090 ppup1090.o anet.o interactive.o mode_ac.o mode_s.o net_io.o coaa1090.obj $(LIBS)
|
||||
$(CC) -g -o ppup1090 ppup1090.o anet.o interactive.o mode_ac.o mode_s.o net_io.o coaa1090.obj $(LIBS) $(LDFLAGS)
|
||||
|
||||
clean:
|
||||
rm -f *.o ppup1090
|
||||
|
|
|
@ -21,7 +21,7 @@ all: view1090
|
|||
$(CC) $(CFLAGS) $(EXTRACFLAGS) -c $<
|
||||
|
||||
view1090: view1090.o anet.o interactive.o mode_ac.o mode_s.o net_io.o
|
||||
$(CC) -g -o view1090 view1090.o anet.o interactive.o mode_ac.o mode_s.o net_io.o $(LIBS)
|
||||
$(CC) -g -o view1090 view1090.o anet.o interactive.o mode_ac.o mode_s.o net_io.o $(LIBS) $(LDFLAGS)
|
||||
|
||||
clean:
|
||||
rm -f *.o view1090
|
||||
|
|
5
net_io.c
5
net_io.c
|
@ -146,7 +146,7 @@ void modesFreeClient(int fd) {
|
|||
if (Modes.debug & MODES_DEBUG_NET)
|
||||
printf("Closing client %d\n", fd);
|
||||
|
||||
// If this was our maxfd, scan the clients array to find the new max.
|
||||
// If this was our maxfd, scan the clients array to find trhe new max.
|
||||
// Note that we are sure there is no active fd greater than the closed
|
||||
// fd, so we scan from fd-1 to 0.
|
||||
if (Modes.maxfd == fd) {
|
||||
|
@ -191,7 +191,7 @@ void modesSendBeastOutput(struct modesMessage *mm) {
|
|||
char * pTimeStamp;
|
||||
char ch;
|
||||
int j;
|
||||
int iOutLen = msgLen + 9; // Escape, message type, timestamp, sigLevel and msg
|
||||
int iOutLen = msgLen + 9; // Escape, msgtype, timestamp, sigLevel, msg
|
||||
|
||||
*p++ = 0x1a;
|
||||
if (msgLen == MODES_SHORT_MSG_BYTES)
|
||||
|
@ -458,6 +458,7 @@ int decodeBinMessage(struct client *c, char *p) {
|
|||
ch = *p++;
|
||||
if (0x1A == ch) {p++;}
|
||||
}
|
||||
|
||||
mm.signalLevel = ch = *p++; // Grab the signal level
|
||||
if (0x1A == ch) {p++;}
|
||||
|
||||
|
|
Loading…
Reference in a new issue