When the get_fix() function is called the self.chrono is being reset within the _read_message() function. This causes the timeout not to work as expected.
This pull request fixes this issue by removing the global instance of self.chrono and using separate instances of the Timer.Chrono() object inside each of the functions (get_fix() and _read_message())
When the
get_fix()
function is called theself.chrono
is being reset within the_read_message()
function. This causes the timeout not to work as expected.This pull request fixes this issue by removing the global instance of
self.chrono
and using separate instances of theTimer.Chrono()
object inside each of the functions (get_fix()
and_read_message()
)