Compare commits
No commits in common. "520fd76b91dad93040b5df87b6819d23603e8ec6" and "8aeb6ab30a357911c70e8d727236046fa6921ae6" have entirely different histories.
520fd76b91
...
8aeb6ab30a
|
@ -84,9 +84,6 @@ void CurrentTransformerCard::saveEnergy(){
|
|||
}
|
||||
void CurrentTransformerCard::loadEnergy(){
|
||||
this->fram->read(this->framAddress, (uint8_t*)&this->energy, sizeof(this->energy));
|
||||
if (this->energy < 0 || isnan(this->energy)) {
|
||||
this->energy = 0;
|
||||
}
|
||||
}
|
||||
|
||||
void CurrentTransformerCard::setEnergyAutoSave(bool autoSave){
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
#pragma once
|
||||
|
||||
#define SDK_VESRION "2.9.4"
|
||||
#define SDK_VESRION "2.9.3"
|
Loading…
Reference in New Issue