summaryrefslogtreecommitdiff
path: root/nuttx/configs/vsn/src/sif.c
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2014-04-12 13:09:48 -0600
committerGregory Nutt <gnutt@nuttx.org>2014-04-12 13:09:48 -0600
commit5d99549aca261d40abf3e0d7180c2bddca3522b3 (patch)
tree8602dccf7672ec2af9de95c9b005fea2e9a37243 /nuttx/configs/vsn/src/sif.c
parent5fbbc21f13770cc35c3e61e3109c125d03f172eb (diff)
downloadnuttx-5d99549aca261d40abf3e0d7180c2bddca3522b3.tar.gz
nuttx-5d99549aca261d40abf3e0d7180c2bddca3522b3.tar.bz2
nuttx-5d99549aca261d40abf3e0d7180c2bddca3522b3.zip
Make sure that there is one space between while and condition
Diffstat (limited to 'nuttx/configs/vsn/src/sif.c')
-rw-r--r--nuttx/configs/vsn/src/sif.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/nuttx/configs/vsn/src/sif.c b/nuttx/configs/vsn/src/sif.c
index 6fa0be5a2..971c5ca86 100644
--- a/nuttx/configs/vsn/src/sif.c
+++ b/nuttx/configs/vsn/src/sif.c
@@ -204,9 +204,10 @@ struct vsn_sif_s vsn_sif;
void sif_sem_wait(void)
{
- while( sem_wait( &vsn_sif.exclusive_access ) != 0 ) {
+ while (sem_wait( &vsn_sif.exclusive_access ) != 0)
+ {
ASSERT(errno == EINTR);
- }
+ }
}
@@ -688,7 +689,7 @@ int sif_main(int argc, char *argv[])
cc1101_setchannel(cc, 0); /* AV Test Hex, receive on that channel */
cc1101_receive(cc); /* Enter RX mode */
- while(1)
+ while (1)
{
fflush(stdout);
sta = cc1101_read(cc, buf, 64);