diff --git a/src/assets/templates/homev2Wifi.tpl b/src/assets/templates/homev2Wifi.tpl index 152a94b..71538b7 100644 --- a/src/assets/templates/homev2Wifi.tpl +++ b/src/assets/templates/homev2Wifi.tpl @@ -25,7 +25,7 @@ // Uncomment the next line to get debugging messages printed on the Serial port // Do not leave this enabled for long time use -// #define ENABLE_DEBUG +@{DEBUG_ENABLED}@ #ifdef ENABLE_DEBUG #define DEBUG(str) Serial.println(str) diff --git a/src/pages/add-item/add-item.html b/src/pages/add-item/add-item.html index a7d8310..452816e 100644 --- a/src/pages/add-item/add-item.html +++ b/src/pages/add-item/add-item.html @@ -1,7 +1,7 @@ - Add Item + Add sensor @@ -11,7 +11,6 @@ - Phenomenon diff --git a/src/pages/add-item/add-item.ts b/src/pages/add-item/add-item.ts index c492466..f628506 100644 --- a/src/pages/add-item/add-item.ts +++ b/src/pages/add-item/add-item.ts @@ -14,7 +14,7 @@ import { IonicPage, NavController, ViewController } from 'ionic-angular'; templateUrl: 'add-item.html', }) export class AddItemPage { - + title:string; typ:string; id:string; diff --git a/src/pages/configuration/configuration.html b/src/pages/configuration/configuration.html index 98aaa40..1907efc 100644 --- a/src/pages/configuration/configuration.html +++ b/src/pages/configuration/configuration.html @@ -57,6 +57,12 @@ + + + + Enable debug + +