Browse Source

Added prefix to driver variables

fastled
Xose Pérez 8 years ago
parent
commit
07acfbf8ea
1 changed files with 0 additions and 2 deletions
  1. +0
    -2
      code/src/emon.ino

+ 0
- 2
code/src/emon.ino View File

@ -40,10 +40,8 @@ void powerMonitorSetup() {
// backwards compatibility // backwards compatibility
setSetting("emonMains", getSetting("pwMainsVoltage", EMON_MAINS_VOLTAGE)); setSetting("emonMains", getSetting("pwMainsVoltage", EMON_MAINS_VOLTAGE));
setSetting("emonRatio", getSetting("pwCurrentRatio", EMON_CURRENT_RATIO)); setSetting("emonRatio", getSetting("pwCurrentRatio", EMON_CURRENT_RATIO));
setSetting("emonPowerTopic", getSetting("emonPowerTopic", EMON_POWER_TOPIC));
delSetting("pwMainsVoltage"); delSetting("pwMainsVoltage");
delSetting("pwCurrentRatio"); delSetting("pwCurrentRatio");
delSetting("emonPowerTopic");
emon.initCurrent( emon.initCurrent(
currentCallback, currentCallback,


Loading…
Cancel
Save