Plymouth ELEC351 Group T / Mbed OS ELEC351_Group_T

Fork of ELEC351 by Plymouth ELEC351 Group T

Revision:
48:244d6d81bb52
Parent:
47:6d128e500875
Child:
52:99915f5240b2
--- a/NETWORK.cpp	Mon Jan 08 21:53:40 2018 +0000
+++ b/NETWORK.cpp	Tue Jan 09 00:37:01 2018 +0000
@@ -34,7 +34,7 @@
 }
 void Networking()
 {    
-        if(Log_Value==1){pc.printf("In Network Thread\n");}
+        if(Log_Value==2){pc.printf("In Network Thread\n");}
         
         time_t Time = Data_Buffer[(Write_Pointer - 1)].get_time();
         tm* Time_Pointer = localtime(&Time);
@@ -91,6 +91,8 @@
         response +=output9_str;
         response += HTTP_MESSAGE_BODY2;
         
+        
+        if(Log_Value==2){pc.printf("Printing Network Data\n");}
         //Send static HTML response (as a C string)
         clt_sock.send(response.c_str(), response.size()+6);    
 }
\ No newline at end of file