diff --git a/config.h b/config.h index e693554..bcf18b5 100644 --- a/config.h +++ b/config.h @@ -23,12 +23,12 @@ // 7 --> walkie talkies, HT's or other human portable // 8 --> boats, sailboats, RV's or second main mobile // 9 --> Primary Mobile (usually message capable) -// 10 --> internet, Igates, echolink, winlink, AVRS, APRN, etc. -// 11 --> balloons, aircraft, spacecraft, etc. -// 12 --> APRStt, DTMF, RFID, devices, one-way trackers*, etc. -// 13 --> Weather stations -// 14 --> Truckers or generally full time drivers -// 15 --> generic additional station, digi, mobile, wx, etc. +// A --> internet, Igates, echolink, winlink, AVRS, APRN, etc. +// B --> balloons, aircraft, spacecraft, etc. +// C --> APRStt, DTMF, RFID, devices, one-way trackers*, etc. +// D --> Weather stations +// E --> Truckers or generally full time drivers +// F --> generic additional station, digi, mobile, wx, etc. #define APRS_COMMENT " Hello from the sky!" #define RTTY_TO_APRS_RATIO 5 //transmit APRS packet with each x RTTY packet diff --git a/main.c b/main.c index 00c02ca..9154212 100644 --- a/main.c +++ b/main.c @@ -200,7 +200,7 @@ int main(void) { void send_rtty_packet() { start_bits = RTTY_PRE_START_BITS; - int8_t temperatura = radio_read_temperature(); + int8_t si4032_temperature = radio_read_temperature(); // voltage = srednia(ADCVal[0] * 600 / 4096); voltage = ADCVal[0] * 600 / 4096; @@ -220,7 +220,7 @@ void send_rtty_packet() { gpsData.hours, gpsData.minutes, gpsData.seconds, gpsData.lat_raw < 0 ? "-" : "", lat_d, lat_fl, gpsData.lon_raw < 0 ? "-" : "", lon_d, lon_fl, - (gpsData.alt_raw / 1000), temperatura, voltage, gpsData.sats_raw, + (gpsData.alt_raw / 1000), si4032_temperature, voltage, gpsData.sats_raw, gpsData.ok_packets, gpsData.bad_packets, flaga); CRC_rtty = 0xffff; //possibly not neccessary??