diff options
author | Andrew Tridgell <tridge@samba.org> | 2014-07-10 13:32:56 +1000 |
---|---|---|
committer | Lorenz Meier <lm@inf.ethz.ch> | 2014-07-12 16:05:54 +0200 |
commit | ae43dd99849db279755eb4f434de28463c96fb7f (patch) | |
tree | ad7183f98068e2d9f5910cb2eb1c48a8613e4acd /nuttx/sched/sem_holder.c | |
parent | 047ed5c93fc127163ec1fa2854f977962a94c2f5 (diff) | |
download | px4-nuttx-ae43dd99849db279755eb4f434de28463c96fb7f.tar.gz px4-nuttx-ae43dd99849db279755eb4f434de28463c96fb7f.tar.bz2 px4-nuttx-ae43dd99849db279755eb4f434de28463c96fb7f.zip |
stm32_i2c: ensure we don't change priv-> after semaphore is released
this prevents a race condition where a subsequent I2C transfer could
be lost
Many thanks to hxxnrx@gmail.com for reporting this bug
Diffstat (limited to 'nuttx/sched/sem_holder.c')
0 files changed, 0 insertions, 0 deletions