From ec4829ea430547d83fa4ac332171ab5bf97bb085 Mon Sep 17 00:00:00 2001 From: Richard Meadows Date: Fri, 24 Jul 2015 23:18:16 +0100 Subject: [PATCH] Enabled aprs parameters for flight --- firmware/inc/aprs.h | 7 ++++--- firmware/src/rf_tests.c | 1 + 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/firmware/inc/aprs.h b/firmware/inc/aprs.h index 9c2ffe5..e9b4cf9 100644 --- a/firmware/inc/aprs.h +++ b/firmware/inc/aprs.h @@ -25,14 +25,13 @@ #ifndef APRS_H #define APRS_H -#include "rf_tests.h" #include "data.h" /** * Reference APRS Protocol Spec http://www.aprs.org/doc/APRS101.PDF */ - -#if RF_TEST != RF_TEST_APRS +#define APRS_TESTING_PARAMS +#ifdef APRS_TESTING_PARAMS /** * This should be a full licensed callsign you own. Not mine plz k thx bai @@ -49,6 +48,8 @@ #else /* ----------- Parameters for testing */ +#warning Using APRS test parameters + #define APRS_CALLSIGN "M0SBU" #define APRS_SSID 2 #define APRS_SYMBOL "/2" diff --git a/firmware/src/rf_tests.c b/firmware/src/rf_tests.c index a6a4059..c5dd89e 100644 --- a/firmware/src/rf_tests.c +++ b/firmware/src/rf_tests.c @@ -24,6 +24,7 @@ #include "samd20.h" #include "hw_config.h" +#include "rf_tests.h" #include "si_trx.h" #include "si_trx_defs.h" #include "telemetry.h"