Make it clearer that ADDR_ADSB_ICAO includes Mode S too.

This commit is contained in:
Oliver Jowett 2016-09-14 17:19:49 +01:00
parent 4dacb291ab
commit 50a606d23f
2 changed files with 2 additions and 2 deletions

View file

@ -153,7 +153,7 @@ typedef enum {
* (Earlier values are higher priority) * (Earlier values are higher priority)
*/ */
typedef enum { typedef enum {
ADDR_ADSB_ICAO, /* ADS-B, ICAO address, transponder sourced */ ADDR_ADSB_ICAO, /* Mode S or ADS-B, ICAO address, transponder sourced */
ADDR_ADSB_ICAO_NT, /* ADS-B, ICAO address, non-transponder */ ADDR_ADSB_ICAO_NT, /* ADS-B, ICAO address, non-transponder */
ADDR_ADSR_ICAO, /* ADS-R, ICAO address */ ADDR_ADSR_ICAO, /* ADS-R, ICAO address */
ADDR_TISB_ICAO, /* TIS-B, ICAO address */ ADDR_TISB_ICAO, /* TIS-B, ICAO address */

View file

@ -1361,7 +1361,7 @@ static const char *speed_source_to_string(speed_source_t speed) {
static const char *addrtype_to_string(addrtype_t type) { static const char *addrtype_to_string(addrtype_t type) {
switch (type) { switch (type) {
case ADDR_ADSB_ICAO: case ADDR_ADSB_ICAO:
return "ADS-B"; return "Mode S / ADS-B";
case ADDR_ADSB_ICAO_NT: case ADDR_ADSB_ICAO_NT:
return "ADS-B, non-transponder"; return "ADS-B, non-transponder";
case ADDR_ADSB_OTHER: case ADDR_ADSB_OTHER: