uniba-swt / libbidib

A library for communication with a BiDiB (www.bidib.org) system using a serial connection.
GNU General Public License v3.0
10 stars 4 forks source link

bidib_state_reset does not correctly reset "detected train speed" #36

Closed BLuedtke closed 2 months ago

BLuedtke commented 4 months ago

In bidib_state.c, specifically in the function bidib_state_reset, the train state property detected_kmh_speed is not reset, leading to bogus values for trains that are not on the track.