fix race condition in hwtimer_spin
improve fix and comment
save one long
improve comments, rename variable
Merge pull request #324 from LudwigOrtmann/hwtimer_race

fix race condition in hwtimer_spin