able to subscribe for >10hrs and still running

Dependencies:   ADE7758_v1 Crypto DHT11 MQTT MbedJSONValue SDFileSystem SPI_TFT_ILI9341 SWSPI SetRTC TFT_fonts Touch W5500Interface mbed-rtos mbed-src tuanpm

Fork of PB_emma_controller_mbed_src by Emma

Revision:
8:51a0ca9079ca
Parent:
0:f4e449fa34d7
Child:
9:a58c04da4476
--- a/main.cpp	Fri Jul 10 05:26:04 2015 +0000
+++ b/main.cpp	Sat Jul 11 09:38:12 2015 +0000
@@ -1,6 +1,6 @@
 #include "emmaCode.h"
 
-int mode = MODE_OPERATION;
+int mode = MODE_SETTINGS;
 int main() {
     //init touchscreen and read input
     emmaInit();