Hello Marek,
- while (get_timer(bcm_host->last_write) < bcm_host->twoticks_delay)
+ while (timer_get_us() < bcm_host->last_write +
bcm_host->twoticks_delay)
;
Can this counter / the right side of the comparison not overflow?
Regards,
Jeroen