diff --git a/src/codecs/ax25/ax25.c b/src/codecs/ax25/ax25.c index b43e864..b60aa48 100644 --- a/src/codecs/ax25/ax25.c +++ b/src/codecs/ax25/ax25.c @@ -84,12 +84,12 @@ uint16_t ax25_encode_packet_aprs(char *source, uint8_t source_ssid, char *destin size_t call_length = strlen(source); memset(header->source, ' ', sizeof(header->source)); memcpy(header->source, source, call_length < 6 ? call_length : 6); - header->source_ssid = (uint8_t) (source_ssid >= 'A' ? source_ssid - 7 : source_ssid);; + header->source_ssid = (uint8_t) (source_ssid >= 'A' ? source_ssid - 7 : source_ssid); call_length = strlen(destination); memset(header->destination, ' ', sizeof(header->destination)); memcpy(header->destination, destination, call_length < 6 ? call_length : 6); - header->destination_ssid = (uint8_t) destination_ssid >= 'A' ? destination_ssid - 7 : destination_ssid);; + header->destination_ssid = (uint8_t) (destination_ssid >= 'A' ? destination_ssid - 7 : destination_ssid); char *digipeater_addresses_start = ((char *) header) + 1 + 14; uint16_t digipeater_addresses_length = ax25_encode_digipeater_path(digipeater_addresses, digipeater_addresses_start); diff --git a/src/config.h b/src/config.h index 716872c..7eed4c2 100644 --- a/src/config.h +++ b/src/config.h @@ -275,7 +275,7 @@ #define APRS_SYMBOL_TABLE '/' // '/' denotes primary and '\\' denotes alternate APRS symbol table #define APRS_SYMBOL 'O' #define APRS_COMMENT "RS41ng radiosonde firmware test" -#define APRS_RELAYS "WIDE1-1,WIDE2-1" //Do not include any spaces in the APRS_RELAYS +#define APRS_RELAYS "WIDE1-1,WIDE2-1" // Do not include any spaces in the APRS_RELAYS #define APRS_DESTINATION "APZ41N" #define APRS_DESTINATION_SSID '0' // Generate an APRS weather report instead of a position report. This will override the APRS symbol with the weather station symbol.