From 07acfbf8ea02c34f11e05f444744f1ceb348611e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Xose=20P=C3=A9rez?= Date: Mon, 24 Oct 2016 11:53:31 +0200 Subject: [PATCH] Added prefix to driver variables --- code/src/emon.ino | 2 -- 1 file changed, 2 deletions(-) diff --git a/code/src/emon.ino b/code/src/emon.ino index 914851b7..e278b082 100644 --- a/code/src/emon.ino +++ b/code/src/emon.ino @@ -40,10 +40,8 @@ void powerMonitorSetup() { // backwards compatibility setSetting("emonMains", getSetting("pwMainsVoltage", EMON_MAINS_VOLTAGE)); setSetting("emonRatio", getSetting("pwCurrentRatio", EMON_CURRENT_RATIO)); - setSetting("emonPowerTopic", getSetting("emonPowerTopic", EMON_POWER_TOPIC)); delSetting("pwMainsVoltage"); delSetting("pwCurrentRatio"); - delSetting("emonPowerTopic"); emon.initCurrent( currentCallback,