In the library modules/nmea/nmea.tcl the procedure read_port is as follows:
proc ::nmea::read_port {f} {
set line [gets $f]
if {$::nmea::nmea(log) != ""} {
puts $nmea(log) $line
}
::nmea::parse_nmea $line
}
When logging is turned on this fails with an "unknown variable $nmea(log)" since nmea is undefined. I believe it should read:
proc ::nmea::read_port {f} {
variable nmea
set line [gets $f]
if {$::nmea::nmea(log) != ""} {
puts $nmea(log) $line
}
::nmea::parse_nmea $line
}
I hope this is correct. Thank you for your time!
|