mirror of
https://github.com/richonguzman/LoRa_APRS_iGate.git
synced 2026-04-08 16:05:54 +00:00
1.2
This commit is contained in:
parent
a8f013ba7d
commit
35499c36c6
11 changed files with 58 additions and 64 deletions
|
|
@ -2,12 +2,22 @@
|
|||
#include "station_utils.h"
|
||||
#include "lora_utils.h"
|
||||
#include "digi_utils.h"
|
||||
#include "gps_utils.h"
|
||||
#include "display.h"
|
||||
#include "utils.h"
|
||||
|
||||
extern Configuration Config;
|
||||
extern int stationMode;
|
||||
extern uint32_t lastScreenOn;
|
||||
extern int lastStationModeState;
|
||||
extern String iGateBeaconPacket;
|
||||
extern String firstLine;
|
||||
extern String secondLine;
|
||||
extern String thirdLine;
|
||||
extern String fourthLine;
|
||||
extern String fifthLine;
|
||||
extern String sixthLine;
|
||||
extern String seventhLine;
|
||||
|
||||
namespace DIGI_Utils {
|
||||
|
||||
|
|
@ -49,8 +59,9 @@ void processPacket(String packet) {
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
void loop() {
|
||||
if (lastStationModeState == 0) {
|
||||
if (lastStationModeState==0 && stationMode==5) {
|
||||
iGateBeaconPacket = GPS_Utils::generateBeacon();
|
||||
lastStationModeState = 1;
|
||||
String Tx = String(Config.loramodule.digirepeaterTxFreq);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue