White space fixes.

git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@8945 35acf78f-673a-0410-8e92-d51de3d6d3f4
This commit is contained in:
Giovanni Di Sirio 2016-02-24 16:14:53 +00:00
parent d08631961a
commit fcb8c90609
1 changed files with 9 additions and 9 deletions

View File

@ -433,7 +433,7 @@ int32 OS_TimerSet(uint32 timer_id, uint32 start_time, uint32 interval_time) {
* *
* @api * @api
*/ */
int32 OS_TimerGetIdByName (uint32 *timer_id, const char *timer_name) { int32 OS_TimerGetIdByName(uint32 *timer_id, const char *timer_name) {
/* NULL pointer checks.*/ /* NULL pointer checks.*/
if ((timer_id == NULL) || (timer_id == NULL)) { if ((timer_id == NULL) || (timer_id == NULL)) {
@ -458,7 +458,7 @@ int32 OS_TimerGetIdByName (uint32 *timer_id, const char *timer_name) {
* *
* @api * @api
*/ */
int32 OS_TimerGetInfo (uint32 timer_id, OS_timer_prop_t *timer_prop) { int32 OS_TimerGetInfo(uint32 timer_id, OS_timer_prop_t *timer_prop) {
syssts_t sts; syssts_t sts;
osal_timer_t *otp = (osal_timer_t *)timer_id; osal_timer_t *otp = (osal_timer_t *)timer_id;
@ -510,8 +510,8 @@ int32 OS_TimerGetInfo (uint32 timer_id, OS_timer_prop_t *timer_prop) {
* *
* @api * @api
*/ */
int32 OS_BinSemCreate (uint32 *sem_id, const char *sem_name, int32 OS_BinSemCreate(uint32 *sem_id, const char *sem_name,
uint32 sem_initial_value, uint32 options) { uint32 sem_initial_value, uint32 options) {
binary_semaphore_t *bsp; binary_semaphore_t *bsp;
(void)options; (void)options;
@ -804,8 +804,8 @@ int32 OS_BinSemGetInfo(uint32 sem_id, OS_bin_sem_prop_t *bin_prop) {
* *
* @api * @api
*/ */
int32 OS_CountSemCreate (uint32 *sem_id, const char *sem_name, int32 OS_CountSemCreate(uint32 *sem_id, const char *sem_name,
uint32 sem_initial_value, uint32 options) { uint32 sem_initial_value, uint32 options) {
semaphore_t *sp; semaphore_t *sp;
(void)options; (void)options;
@ -1059,7 +1059,7 @@ int32 OS_CountSemGetInfo(uint32 sem_id, OS_count_sem_prop_t *sem_prop) {
* *
* @api * @api
*/ */
int32 OS_MutSemCreate (uint32 *sem_id, const char *sem_name, uint32 options) { int32 OS_MutSemCreate(uint32 *sem_id, const char *sem_name, uint32 options) {
mutex_t *mp; mutex_t *mp;
(void)options; (void)options;
@ -1417,7 +1417,7 @@ int32 OS_TaskDelay(uint32 milli_second) {
* *
* @api * @api
*/ */
int32 OS_TaskSetPriority (uint32 task_id, uint32 new_priority) { int32 OS_TaskSetPriority(uint32 task_id, uint32 new_priority) {
tprio_t rt_newprio; tprio_t rt_newprio;
thread_t *tp = (thread_t *)task_id; thread_t *tp = (thread_t *)task_id;
@ -1520,7 +1520,7 @@ uint32 OS_TaskGetId(void) {
* *
* @api * @api
*/ */
int32 OS_TaskGetIdByName (uint32 *task_id, const char *task_name) { int32 OS_TaskGetIdByName(uint32 *task_id, const char *task_name) {
thread_t *tp; thread_t *tp;
/* NULL pointer checks.*/ /* NULL pointer checks.*/