added some missing new lines in debug
This commit is contained in:
parent
6574947a80
commit
73c486be73
@ -249,7 +249,7 @@ void printParameters(struct Configuration configuration)
|
||||
void Parse_LoRa_UartCommand(char input[], int size)
|
||||
{
|
||||
|
||||
Debug_pushMessage("Start parsing, size: %d", size);
|
||||
Debug_pushMessage("Start parsing, size: %d\n", size);
|
||||
char delimiter[] = ";";
|
||||
char *ptr;
|
||||
char command[8];
|
||||
@ -278,7 +278,7 @@ void Parse_LoRa_UartCommand(char input[], int size)
|
||||
}
|
||||
|
||||
// Hier kannst du den Wert und das Kommando verarbeiten
|
||||
Debug_pushMessage("Command: %s, Value: %s", command, value);
|
||||
Debug_pushMessage("Command: %s, Value: %s\n", command, value);
|
||||
}
|
||||
|
||||
Debug_pushMessage("Parsed LoRa UART Command: %s Value: %s\n", command, value);
|
||||
@ -286,12 +286,12 @@ void Parse_LoRa_UartCommand(char input[], int size)
|
||||
if (!strcmp(command, "ENABLE"))
|
||||
{
|
||||
globals.timer_disabled = false;
|
||||
Debug_pushMessage("Enabled by LoRa");
|
||||
Debug_pushMessage("Enabled by LoRa\n");
|
||||
}
|
||||
else if (!strcmp(command, "DISABLE"))
|
||||
{
|
||||
globals.timer_disabled = true;
|
||||
Debug_pushMessage("Disabled by LoRa");
|
||||
Debug_pushMessage("Disabled by LoRa\n");
|
||||
}
|
||||
else if (!strcmp(command, "RESET"))
|
||||
{
|
||||
@ -299,7 +299,7 @@ void Parse_LoRa_UartCommand(char input[], int size)
|
||||
PersistenceData.faction_1_timer = 0;
|
||||
PersistenceData.faction_2_timer = 0;
|
||||
PersistenceData.faction_3_timer = 0;
|
||||
Debug_pushMessage("Reset by LoRa");
|
||||
Debug_pushMessage("Reset by LoRa\n");
|
||||
}
|
||||
else if (!strcmp(command, "TMRSTP"))
|
||||
{
|
||||
|
@ -421,7 +421,7 @@ void tmrCallback_InputGetter()
|
||||
|
||||
if (keysPressed > 1)
|
||||
{
|
||||
Debug_pushMessage("ERROR: More than one Flag active - setting no Faction active");
|
||||
Debug_pushMessage("ERROR: More than one Flag active - setting no Faction active\n");
|
||||
PersistenceData.activeFaction = NONE;
|
||||
return;
|
||||
}
|
||||
@ -430,7 +430,7 @@ void tmrCallback_InputGetter()
|
||||
{
|
||||
if (PersistenceData.activeFaction != FACTION_1)
|
||||
{
|
||||
Debug_pushMessage("Faction 1 captured !");
|
||||
Debug_pushMessage("Faction 1 captured !\n");
|
||||
globals.requestEEAction = EE_PDS_SAVE;
|
||||
}
|
||||
PersistenceData.activeFaction = FACTION_1;
|
||||
@ -440,7 +440,7 @@ void tmrCallback_InputGetter()
|
||||
{
|
||||
if (PersistenceData.activeFaction != FACTION_2)
|
||||
{
|
||||
Debug_pushMessage("Faction 2 captured !");
|
||||
Debug_pushMessage("Faction 2 captured !\n");
|
||||
globals.requestEEAction = EE_PDS_SAVE;
|
||||
}
|
||||
PersistenceData.activeFaction = FACTION_2;
|
||||
@ -450,7 +450,7 @@ void tmrCallback_InputGetter()
|
||||
{
|
||||
if (PersistenceData.activeFaction != FACTION_3)
|
||||
{
|
||||
Debug_pushMessage("Faction 3 captured !");
|
||||
Debug_pushMessage("Faction 3 captured !\n");
|
||||
globals.requestEEAction = EE_PDS_SAVE;
|
||||
}
|
||||
PersistenceData.activeFaction = FACTION_3;
|
||||
@ -704,7 +704,7 @@ void ProcessKeyCombos(bool *btnState)
|
||||
|
||||
if (keyCount_Fac2 == 2 && keyCount_Fac3 == 0)
|
||||
{
|
||||
Debug_pushMessage("KeyCombo: WiFi AP ON");
|
||||
Debug_pushMessage("KeyCombo: WiFi AP ON\n");
|
||||
OverrideDisplay(5000, "NET ", " ", " ");
|
||||
toggleWiFiAP(false);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user