summaryrefslogtreecommitdiff
path: root/lib/streaming_io.f90
diff options
context:
space:
mode:
authorChristoph Berg <myon@debian.org>2026-10-14 14:39:20 +0200
committerChristoph Berg <myon@debian.org>2026-10-14 14:39:20 +0200
commitc576a4281ef8c87990ae6399393a827dfaccacd5 (patch)
tree0f28b7d1fc2ba73ccea5d7513281b0f8cae76fb6 /lib/streaming_io.f90
parentffc62c792c9a5196cb4ce7a353287dfe20db6524 (diff)
New upstream version 3.3.0~beta2+dfsgupstream/3.3.0_beta2+dfsgupstream
Diffstat (limited to 'lib/streaming_io.f90')
-rw-r--r--lib/streaming_io.f905
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/streaming_io.f90 b/lib/streaming_io.f90
index a2c9fa28..ed1ac923 100644
--- a/lib/streaming_io.f90
+++ b/lib/streaming_io.f90
@@ -52,7 +52,7 @@ subroutine jt9_stream(shared_data, mode, TRperiod)
use streaming_emit, only: streaming_emit_ready, &
streaming_emit_decode_finished, streaming_emit_error, &
streaming_emit_error_code, streaming_emit_error_version, &
- streaming_emit_error_type
+ streaming_emit_error_type, streaming_emit_set_time_form
use streaming_control, only: parse_control_frame, configure_fields, &
control_type_error, CTRL_CONFIGURE, CTRL_HALT, CTRL_PARSE_ERR
use streaming_apply, only: apply_configure_fields
@@ -327,6 +327,7 @@ subroutine jt9_stream(shared_data, mode, TRperiod)
prev_TRperiod = TRperiod
call apply_configure_fields(cfg, mode, TRperiod, &
shared_data%params, baseline_nfa, baseline_nfb)
+ call streaming_emit_set_time_form(cfg%utc_set, cfg%nutc_set, TRperiod)
! A configure that changes the applied mode or period starts a
! new period; what was in flight is discarded. Repeating the
! current configuration leaves the period alone.
@@ -381,7 +382,7 @@ contains
shared_data%params%nzhsym = 181
end if
shared_data%params%kin = 64800
- if (mode .eq. 5 .or. mode .eq. 9 .or. mode .eq. 65 .or. mode .eq. 66 .or. &
+ if (mode .eq. 4 .or. mode .eq. 5 .or. mode .eq. 9 .or. mode .eq. 65 .or. mode .eq. 66 .or. &
mode .eq. 240 .or. mode .eq. 241 .or. mode .eq. 242) &
shared_data%params%kin = period%k