[ariss] disable ariss, always use bypass path for other aprs

first hardware build won't include amplifier
main-solar-only
Richard Meadows 2016-04-02 17:45:22 +01:00
rodzic f80788b26a
commit 917a332ce3
2 zmienionych plików z 7 dodań i 7 usunięć

Wyświetl plik

@ -241,7 +241,7 @@
* ARISS APRS
* Geofence used is only "no aprs"
*/
#define ARISS_ENABLE 1
#define ARISS_ENABLE 0
#define ARISS_USE_PREDICT 0
#define ARISS_USE_GEOFENCE 0
#define ARISS_FREQUENCY 145825000

Wyświetl plik

@ -202,13 +202,13 @@ void aprs_telemetry(struct tracker_datapoint* dp, uint32_t n)
telemetry_aprs_set_frequency(location_aprs_frequency());
/* Set rf path */
if ((get_battery_use_state() == BATTERY_GOOD) && /* battery good, */
(get_battery_charge_state() != BATTERY_DISCHARGING) && /* plenty of power and */
((n % 4) == 0)) { /* one-in-four times */
telemetry_aprs_set_rf_path(SI_RF_PATH_AMPLIFIER); /* try the amplified path */
} else {
// if ((get_battery_use_state() == BATTERY_GOOD) && /* battery good, */
// (get_battery_charge_state() != BATTERY_DISCHARGING) && /* plenty of power and */
// ((n % 4) == 0)) { /* one-in-four times */
// telemetry_aprs_set_rf_path(SI_RF_PATH_AMPLIFIER); /* try the amplified path */
// } else {
telemetry_aprs_set_rf_path(SI_RF_PATH_BYPASS);
}
// }
/* Transmit packet and wait */
telemetry_start(TELEMETRY_APRS, 0xFFFF);