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,