You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Function transport_fifo_reset() is only called from:
min_init_context(): usually called once during initialization, when the static uint32_t now; is initialized to 0
min_poll() -> rx_byte() -> valid_frame_received(): the value of now is updated in min_poll()
min_transport_reset(): usually called in runtime, after calling min_poll()
min_poll() is intended to be called every "tick"/loop iteration, so I think it was meant as a feature to only update now inside this function. This ensures all operations in this processing step will use the same now time, including any later calls to min_transport_reset().
In
min.c
, the functiontransport_fifo_reset
uses thenow
variable, but does not update it first. I suggest to insert a call tomin_time_ms()
.The text was updated successfully, but these errors were encountered: