From 922814fb09e5b70743b86e2c8a915e58a4fa57f0 Mon Sep 17 00:00:00 2001 From: Thiemann96 Date: Mon, 17 Feb 2020 16:51:38 +0100 Subject: [PATCH] debug checkbox --- src/assets/templates/homev2Wifi.tpl | 2 +- src/pages/add-item/add-item.html | 3 +-- src/pages/add-item/add-item.ts | 2 +- src/pages/configuration/configuration.html | 6 ++++++ src/pages/configuration/configuration.ts | 18 +++++++----------- 5 files changed, 16 insertions(+), 15 deletions(-) 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 + +