aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/TimestampDecoder.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/TimestampDecoder.cpp b/src/TimestampDecoder.cpp
index 523551c..5bede08 100644
--- a/src/TimestampDecoder.cpp
+++ b/src/TimestampDecoder.cpp
@@ -120,7 +120,6 @@ void TimestampDecoder::pushMNSCData(uint8_t framephase, uint16_t mnsc)
if (enableDecode)
{
- full_timestamp_received = true;
updateTimestampSeconds(mktime(&temp_time));
}
break;
@@ -142,6 +141,7 @@ void TimestampDecoder::updateTimestampSeconds(uint32_t secs)
{
MDEBUG("TimestampDecoder::updateTimestampSeconds(%d) apply\n", secs);
time_secs = secs;
+ full_timestamp_received = true;
}
}