diff options
author | Lorenz Meier <lm@inf.ethz.ch> | 2013-09-19 07:51:37 +0200 |
---|---|---|
committer | Lorenz Meier <lm@inf.ethz.ch> | 2013-09-19 07:51:37 +0200 |
commit | fdc45219493560487d95cdf88a66117ba43fa854 (patch) | |
tree | 370aa0734cf09b7a74f9d8af49a1cc580bc1f6cc /src/modules | |
parent | 978a234d2903b34df7d13fcf0980db283a6f1166 (diff) | |
download | px4-firmware-fdc45219493560487d95cdf88a66117ba43fa854.tar.gz px4-firmware-fdc45219493560487d95cdf88a66117ba43fa854.tar.bz2 px4-firmware-fdc45219493560487d95cdf88a66117ba43fa854.zip |
Hotfix: Disabling param lock, not operational yet
Diffstat (limited to 'src/modules')
-rw-r--r-- | src/modules/systemlib/param/param.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/systemlib/param/param.c b/src/modules/systemlib/param/param.c index 97c547848..59cbcf5fb 100644 --- a/src/modules/systemlib/param/param.c +++ b/src/modules/systemlib/param/param.c @@ -102,14 +102,14 @@ static sem_t param_sem = { .semcount = 1 }; static void param_lock(void) { - do {} while (sem_wait(¶m_sem) != 0); + //do {} while (sem_wait(¶m_sem) != 0); } /** unlock the parameter store */ static void param_unlock(void) { - sem_post(¶m_sem); + //sem_post(¶m_sem); } /** assert that the parameter store is locked */ |