Clean up. Use cpu_relax for while loop. Rename check_i2cStatus to wait_event.
authorasterix <asterix@38d2e660-2303-0410-9eaa-f027e97ec537>
Tue, 27 Jul 2010 15:45:00 +0000 (15:45 +0000)
committerasterix <asterix@38d2e660-2303-0410-9eaa-f027e97ec537>
Tue, 27 Jul 2010 15:45:00 +0000 (15:45 +0000)
commit98eb98b118f4274745b41ad99833c3f08938e60c
tree06cd52c0e493b47aa05d7a6e3e7dba815d4639b8
parentd8e686668bfa23a83f2fa692d6931b144d1a2b5b
Clean up. Use cpu_relax for while loop. Rename check_i2cStatus to wait_event.

git-svn-id: https://src.develer.com/svnoss/bertos/branches/i2c@4081 38d2e660-2303-0410-9eaa-f027e97ec537
bertos/cpu/cortex-m3/drv/i2c_stm32.c