Fix stats counting overflow.

This commit is contained in:
Ian Gulliver
2016-02-23 16:30:30 -08:00
parent 819518e402
commit a33808cb33
2 changed files with 6 additions and 3 deletions

View File

@@ -10,7 +10,7 @@ struct packet {
PACKET_TYPE_MODE_S_SHORT,
PACKET_TYPE_MODE_S_LONG,
} type;
#define NUM_TYPES 2
#define NUM_TYPES 3
uint8_t payload[PACKET_DATA_LEN_MAX];
uint64_t mlat_timestamp;
uint32_t rssi;