pre_hmm_scan_prepare now gets the chopper status and sets the histogram memor frequency to match it.

r2217 | ffr | 2007-11-01 13:03:16 +1100 (Thu, 01 Nov 2007) | 2 lines
This commit is contained in:
Ferdi Franceschini
2007-11-01 13:03:16 +11:00
committed by Douglas Clowes
parent 59b953be0e
commit 6308cd312a

View File

@@ -2,7 +2,7 @@ source $cfPath(scan)/scan_common_1.tcl
##
# @brief Make sure that the chopper is ready before starting a scan.
proc ::scan::pre_hmm_scan_prepare {} {
if [catch {::chopper::ready?} errmsg] {
if [catch {::histogram_memory::tochfreq} errmsg] {
return -code error $errmsg
}
}