Add rf transmit enable in hw config

main-solar-only
Richard Meadows 2015-12-20 16:16:32 +00:00
rodzic 1b477a62ec
commit bc1a657c8c
2 zmienionych plików z 9 dodań i 0 usunięć

Wyświetl plik

@ -195,6 +195,13 @@
#define RF_POWER_14dBm 0x7f
#define RF_POWER_8dBm 36
/**
* RF Enable
*
* Disable this when there's no antenna connected
*/
#define RF_TX_ENABLE 1
/**
* LF Clock
*/

Wyświetl plik

@ -52,6 +52,7 @@ void telemetry_sequence(struct tracker_datapoint* dp, uint32_t n)
location_aprs_update(dp->latitude, dp->longitude);
/* Telemetry */
#if RF_TX_ENABLE
#if TELEMETRY_ENABLE
#if TELEMETRY_USE_GEOFENCE
if (location_telemetry_active()) {
@ -81,6 +82,7 @@ void telemetry_sequence(struct tracker_datapoint* dp, uint32_t n)
}
#endif
#endif
#endif
}