diff options
author | Gregory Nutt <gnutt@nuttx.org> | 2014-01-14 13:30:22 -0600 |
---|---|---|
committer | Gregory Nutt <gnutt@nuttx.org> | 2014-01-14 13:30:22 -0600 |
commit | 909af806c753228e9ae279432993c93e9180b54f (patch) | |
tree | 943750805050126fae960ac09211e22d8ca2cef5 /nuttx/drivers/pipes/pipe.c | |
parent | 37a1adc0053c37b3bc70379f489f93359724186a (diff) | |
download | px4-nuttx-909af806c753228e9ae279432993c93e9180b54f.tar.gz px4-nuttx-909af806c753228e9ae279432993c93e9180b54f.tar.bz2 px4-nuttx-909af806c753228e9ae279432993c93e9180b54f.zip |
Changes to get PX4 config to build. Also some warning removal
Diffstat (limited to 'nuttx/drivers/pipes/pipe.c')
-rw-r--r-- | nuttx/drivers/pipes/pipe.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nuttx/drivers/pipes/pipe.c b/nuttx/drivers/pipes/pipe.c index ce4a7dbe1..826fa9ac7 100644 --- a/nuttx/drivers/pipes/pipe.c +++ b/nuttx/drivers/pipes/pipe.c @@ -88,7 +88,7 @@ static const struct file_operations pipe_fops = #endif }; -static sem_t g_pipesem = { 1 }; +static sem_t g_pipesem = SEM_INITIALIZER(1); static uint32_t g_pipeset = 0; static uint32_t g_pipecreated = 0; |