Update TTGO_T-Beam_LoRa_APRS.ino

pull/23/head
Rysiek Labus 2021-03-18 07:27:48 +01:00
rodzic fb27a6e9c5
commit ee65f6aa41
1 zmienionych plików z 3 dodań i 3 usunięć

Wyświetl plik

@ -208,9 +208,9 @@ void prepareAPRSFrame(){
outString += Tcall;
if (relay_path) {
outString += ">APLM0," + relay_path + ":!";
outString += ">APLS01," + relay_path + ":!";
} else {
outString += ">APLM0:!";
outString += ">APLS01:!";
}
if(gps_state && gps.location.isValid()) {
@ -426,7 +426,7 @@ void sendTelemetryFrame() {
String telemetryEquations = String(":") + Tcall + ":EQNS.0,5.1,3000,0,10,0,0,10,0,0,28,3000,0,10,0";
String telemetryData = String("T#MIC") + String(b_volt) + ","+ String(b_in_c) + ","+ String(b_out_c) + ","+ String(ac_volt) + ","+ String(ac_c) + ",00000000";
String telemetryBase = "";
telemetryBase += Tcall + ">APLM0" + ":";
telemetryBase += Tcall + ">APLS01" + ":";
sendToTNC(telemetryBase + telemetryParamsNames);
sendToTNC(telemetryBase + telemetryUnitNames);
sendToTNC(telemetryBase + telemetryEquations);