summaryrefslogtreecommitdiff
path: root/lib/ft8var/fillhashvar.f90
diff options
context:
space:
mode:
Diffstat (limited to 'lib/ft8var/fillhashvar.f90')
-rw-r--r--lib/ft8var/fillhashvar.f9012
1 files changed, 11 insertions, 1 deletions
diff --git a/lib/ft8var/fillhashvar.f90 b/lib/ft8var/fillhashvar.f90
index 851ddc13..39489a08 100644
--- a/lib/ft8var/fillhashvar.f90
+++ b/lib/ft8var/fillhashvar.f90
@@ -1,11 +1,21 @@
-subroutine fillhashvar(numthreads,lfill)
+subroutine fillhashvar(numthreads,lfill,knowledge)
use packjt77
use ft8_mod1, only : mycall,hiscall
integer, intent(in) :: numthreads
logical, intent(in) :: lfill
+ type(pack77_state), target, optional, intent(inout) :: knowledge
character*13 cw
+ if(present(knowledge)) then
+ if(lfill) then
+ call fold_queued_calls_for_state(knowledge,numthreads)
+ else
+ call prepare_configured_decode_for_state(knowledge,mycall,hiscall)
+ endif
+ return
+ endif
+
if(lfill) then
! End of a configured/var decode pass: merge per-thread successful decode
! effects into the shared callsign hash and recent-call state.