Skip to content

Commit

Permalink
More precise second
Browse files Browse the repository at this point in the history
  • Loading branch information
Blue-Crescent committed Mar 1, 2024
1 parent da1d4bc commit e0381c9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion library.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name=JJYReceiver
version=0.8.3
version=0.8.4
author=BlueCrescent
maintainer=BlueCrescent <[email protected]>
sentence=JJY standard radio signal wave receiver library.
Expand Down
1 change: 1 addition & 0 deletions src/JJYReceiver.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit e0381c9

Please sign in to comment.