changes
This commit is contained in:
@ -148,7 +148,9 @@ int main() {
|
|||||||
uint16_t gap = (((uint32_t) gapValue) * 1000) / 15625;
|
uint16_t gap = (((uint32_t) gapValue) * 1000) / 15625;
|
||||||
|
|
||||||
if (gap > START_GAP_MIN) {
|
if (gap > START_GAP_MIN) {
|
||||||
valid = 1;
|
if (valid == 0) {
|
||||||
|
valid = 1;
|
||||||
|
}
|
||||||
state = 0;
|
state = 0;
|
||||||
clock.second = 0;
|
clock.second = 0;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user