Browse Source

Hotfix: Disabling param lock, not operational yet

sbg
Lorenz Meier 12 years ago
parent
commit
fdc4521949
  1. 4
      src/modules/systemlib/param/param.c

4
src/modules/systemlib/param/param.c

@ -102,14 +102,14 @@ static sem_t param_sem = { .semcount = 1 };
static void static void
param_lock(void) param_lock(void)
{ {
do {} while (sem_wait(&param_sem) != 0); //do {} while (sem_wait(&param_sem) != 0);
} }
/** unlock the parameter store */ /** unlock the parameter store */
static void static void
param_unlock(void) param_unlock(void)
{ {
sem_post(&param_sem); //sem_post(&param_sem);
} }
/** assert that the parameter store is locked */ /** assert that the parameter store is locked */

Loading…
Cancel
Save