kopia lustrzana https://github.com/bristol-seds/pico-tracker
Enable APRS based on current location
rodzic
658076c468
commit
dcc07d1335
|
@ -52,7 +52,7 @@
|
||||||
#include "spi_bitbang.h"
|
#include "spi_bitbang.h"
|
||||||
#include "system/interrupt.h"
|
#include "system/interrupt.h"
|
||||||
|
|
||||||
#define CALLSIGN "UBSEDS6"
|
#define CALLSIGN "UBSEDSx"
|
||||||
|
|
||||||
void xosc_measure_callback(uint32_t result);
|
void xosc_measure_callback(uint32_t result);
|
||||||
void timepulse_callback(uint32_t sequence);
|
void timepulse_callback(uint32_t sequence);
|
||||||
|
@ -249,8 +249,6 @@ void aprs_telemetry(void) {
|
||||||
float lon = (float)pos.payload.lon / 10000000.0;
|
float lon = (float)pos.payload.lon / 10000000.0;
|
||||||
uint32_t altitude = pos.payload.height / 1000;
|
uint32_t altitude = pos.payload.height / 1000;
|
||||||
|
|
||||||
lat = 52; lon = 0;
|
|
||||||
|
|
||||||
/* Update location */
|
/* Update location */
|
||||||
aprs_location_update(lon, lat);
|
aprs_location_update(lon, lat);
|
||||||
|
|
||||||
|
|
Ładowanie…
Reference in New Issue