Prechádzať zdrojové kódy

Version 6.1.7; Enable internal T-Beam sensors to output in "raw" formaat.

platenspeler 5 rokov pred
rodič
commit
0caa948f9e

+ 1 - 1
ESP-sc-gway/_loraFiles.ino

@@ -494,7 +494,7 @@ void printLog()
 } //printLog
 
 
-#if _SEENMAX>0
+#if _SEENMAX>=1
 
 
 // ----------------------------------------------------------------------------

+ 1 - 1
ESP-sc-gway/_txRx.ino

@@ -597,7 +597,7 @@ int buildPacket(uint32_t tmst, uint8_t *buff_up, struct LoraUp LoraUp, bool inte
 
 // When we have the node address and the SF, fill the array
 // listSeen with the required data. SEENMAX must be >0 for this to happen.
-#if  _SEENMAX > 0
+#if  _SEENMAX >= 1
 	addSeen(listSeen, statr[0] );
 #endif
 	

+ 3 - 3
ESP-sc-gway/_wwwServer.ino

@@ -215,8 +215,8 @@ static void wwwButtons()
 {
 	String response = "";
 	String mode = (gwayConfig.expert ? "Basic Mode" : "Expert Mode");
-	String moni = (gwayConfig.monitor ? "Hide Monitor" : "Monitor ON");
-	String seen = (gwayConfig.seen ? "Seen OFF" : "Node last seen");
+	String moni = (gwayConfig.monitor ? "Hide Monitor" : "Show Monitor");
+	String seen = (gwayConfig.seen ? "Hide Last Seen" : "Show Last Seen");
 
 	YesNo();												// Init the Yes/No function
 	buttonDocu();
@@ -951,7 +951,7 @@ static void messageHistory()
 // --------------------------------------------------------------------------------
 static void nodeHistory() 
 {
-#if _SEENMAX > 0
+#if _SEENMAX >= 1
 	if (gwayConfig.seen) {
 		// First draw the headers
 		String response="";