[Armadeus-commitlog] armadeus branch, master, updated. release-3.2-227-ge5124b0
Brought to you by:
sszy
|
From: Julien B a. A. <ar...@us...> - 2010-03-05 22:31:14
|
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "armadeus".
The branch, master has been updated
via e5124b09ce5422e7d4c084d0f1ae137c570c61bd (commit)
via e63d8f38a2128633ba2f49780c1950664943e0e2 (commit)
from 56f57d7811f2e5784776ee15bf7a9364cba497b2 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit e5124b09ce5422e7d4c084d0f1ae137c570c61bd
Merge: e63d8f38a2128633ba2f49780c1950664943e0e2 56f57d7811f2e5784776ee15bf7a9364cba497b2
Author: Julien Boibessot <jul...@ar...>
Date: Fri Mar 5 23:30:22 2010 +0100
Merge branch 'master' of ssh://artemys@armadeus.git.sourceforge.net/gitroot/armadeus/armadeus
commit e63d8f38a2128633ba2f49780c1950664943e0e2
Author: Julien Boibessot <jul...@ar...>
Date: Fri Mar 5 23:29:37 2010 +0100
Indentation
-----------------------------------------------------------------------
Summary of changes:
.../user_space/sleep/pulse_linux_userspace_sleep.c | 17 +++++++++++------
1 files changed, 11 insertions(+), 6 deletions(-)
diff --git a/target/demos/real_time/pulse/linux/user_space/sleep/pulse_linux_userspace_sleep.c b/target/demos/real_time/pulse/linux/user_space/sleep/pulse_linux_userspace_sleep.c
index 3c48275..e61d05e 100644
--- a/target/demos/real_time/pulse/linux/user_space/sleep/pulse_linux_userspace_sleep.c
+++ b/target/demos/real_time/pulse/linux/user_space/sleep/pulse_linux_userspace_sleep.c
@@ -1,5 +1,5 @@
/*
-* linux user space apps for generating signl with sleep
+* Linux user space app for generating a pulse (using sleep)
*
* Copyright (C) 2009 <gwe...@ar...>
* Armadeus Project / Armadeus Systems
@@ -28,22 +28,27 @@
#include <sys/stat.h>
#include <sys/types.h>
#include <sys/ioctl.h>
+
#include "../../../../common.h"
-int main(int argc, char **argv) {
- int fd, iomask;
- if ((fd = open(PULSE_OUTPUT_DEV, O_RDWR))<0) {
+
+int main(/*int argc, char **argv*/void)
+{
+ int fd, iomask;
+
+ if ((fd=open(PULSE_OUTPUT_DEV, O_RDWR)) < 0) {
printf("Open error on %s\n",PULSE_OUTPUT_DEV);
exit(0);
}
iomask=0x00;
printf("Opened on %s\n",PULSE_OUTPUT_DEV);
- while(1){
+ while (1) {
iomask^=1;
- write(fd,&iomask,sizeof(iomask));
+ write(fd, &iomask, sizeof(iomask));
usleep(TIMESLEEP);
}
close(fd);
exit(0);
}
+
hooks/post-receive
--
armadeus
|