update to version in status

This commit is contained in:
richonguzman 2023-07-12 23:23:14 -04:00
parent ffd6bb0794
commit 7db88db759
2 changed files with 6 additions and 5 deletions

View File

@ -22,7 +22,6 @@
#include "SPIFFS.h"
#include "utils.h"
#define VERSION "2023.07.12"
Configuration Config;
PowerManagement powerManagement;
@ -31,6 +30,7 @@ TinyGPSPlus gps;
NimBLECharacteristic* pCharacteristic;
OneButton userButton = OneButton(BUTTON_PIN, true, true);
String versionDate = "2023.07.12";
int myBeaconsIndex = 0;
int myBeaconsSize = Config.beacons.size();
Beacon *currentBeacon = &Config.beacons[myBeaconsIndex];
@ -71,10 +71,10 @@ void setup() {
delay(500);
setup_display();
show_display(" LoRa APRS", "", " Richonguzman", " -- CD2RXU --", "", " " VERSION, 4000);
show_display(" LoRa APRS", "", " Richonguzman", " -- CD2RXU --", "", " " + versionDate, 4000);
logger.log(logging::LoggerLevel::LOGGER_LEVEL_INFO, "Main", "RichonGuzman -> CD2RXU --> LoRa APRS Tracker/Station");
logger.log(logging::LoggerLevel::LOGGER_LEVEL_INFO, "Main", "Version: " VERSION);
logger.log(logging::LoggerLevel::LOGGER_LEVEL_INFO, "Main", "Version: %s", versionDate);
Config.validateConfigFile(currentBeacon->callsign);
MSG_Utils::loadNumMessages();

View File

@ -10,6 +10,7 @@ extern bool displayEcoMode;
extern uint32_t displayTime;
extern bool displayState;
extern int menuDisplay;
extern String versionDate;
namespace utils {
@ -50,7 +51,7 @@ void startingStatus() {
if (Config.path != "") {
packet += "," + Config.path;
}
packet += ":>https://github.com/richonguzman/LoRa_APRS_Tracker";
packet += ":>https://github.com/richonguzman/LoRa_APRS_Tracker " + versionDate;
LoRa_Utils::sendNewPacket(packet);
statusState = false;
}