|
|
@ -57,7 +57,7 @@ class EmonSensor : public I2CSensor { |
|
|
|
|
|
|
|
void resetEnergy(unsigned char channel, double value = 0) { |
|
|
|
if (channel >= _channels) return; |
|
|
|
_energy[i] = value; |
|
|
|
_energy[channel] = value; |
|
|
|
} |
|
|
|
|
|
|
|
// --------------------------------------------------------------------- |
|
|
|