Merge pull request #3 from wisaly/master

bug fix
This commit is contained in:
ShikyC 2016-03-27 20:55:01 +08:00
commit 6e5e3e86eb

View File

@ -85,7 +85,7 @@ void loop() {
triggered [i] = false;
}
if (!triggered) {
if (!triggered [i]) {
if (powerCache [i].get (j + 1) >= powerCache [i].get (j) || j != POWER_CACHE_LENGTH - 2) {
break;
} else {