diff --git a/library.properties b/library.properties index 742bfc9..cd4de5b 100644 --- a/library.properties +++ b/library.properties @@ -1,5 +1,5 @@ name=JJYReceiver -version=0.8.3 +version=0.8.4 author=BlueCrescent maintainer=BlueCrescent sentence=JJY standard radio signal wave receiver library. diff --git a/src/JJYReceiver.cpp b/src/JJYReceiver.cpp index 1ca4a11..d10b977 100644 --- a/src/JJYReceiver.cpp +++ b/src/JJYReceiver.cpp @@ -108,6 +108,7 @@ bool JJYReceiver::timeCheck(){ (jjydata[compare[i][0]].bits.hour + hour00[0]) == (jjydata[compare[i][1]].bits.hour + hour00[1]) && (abs((min[1] - min[0] + 60) % 60) <= 2)) { + tick = 0; last_jjydata[0] = (min[1] > min[0]) ? jjydata[compare[i][1]] : jjydata[compare[i][0]]; state = TIMEVALID; power(false);