micropython/micropython — pull request #345 by dhylands (2014-03-13 22:50:39+00:00)
Title: stmhal - More systick cleanup. Fix HAL_Delay

I kept sys_tick_wait_at_least and sys_tick_has_passed since they both seemed useful (and appear to be used).

I replaced sys_tick_counter with HAL_Delay(), and I fixed HAL_Delay to work properly with wraparound.