changeset 588:1c0033c2fe33

gsm-fw/bsp/abb+spi/abb*.c: formatting fixes (line length and tabs)
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Sun, 17 Aug 2014 00:35:56 +0000
parents cc0944d35698
children 54459b912ef0
files gsm-fw/bsp/abb+spi/abb.c gsm-fw/bsp/abb+spi/abb_core_inth.c gsm-fw/bsp/abb+spi/abb_inth.c
diffstat 3 files changed, 108 insertions(+), 108 deletions(-) [+]
line wrap: on
line diff
--- a/gsm-fw/bsp/abb+spi/abb.c	Sun Aug 17 00:08:50 2014 +0000
+++ b/gsm-fw/bsp/abb+spi/abb.c	Sun Aug 17 00:35:56 2014 +0000
@@ -1,30 +1,30 @@
-/**********************************************************************************/
-/*            TEXAS INSTRUMENTS INCORPORATED PROPRIETARY INFORMATION              */
-/*                                                                                */
-/*   Property of Texas Instruments -- For  Unrestricted  Internal  Use  Only      */
-/*   Unauthorized reproduction and/or distribution is strictly prohibited.  This  */
-/*   product  is  protected  under  copyright  law  and  trade  secret law as an  */
-/*   unpublished work.  Created 1987, (C) Copyright 1997 Texas Instruments.  All  */
-/*   rights reserved.                                                             */
-/*                                                                                */
-/*                                                                                */
-/*   Filename         : abb.c                                                     */
-/*                                                                                */
-/*   Description      : Functions to drive the ABB device.                        */
-/*                      The Serial Port Interface is used to connect the TI       */
-/*                      Analog BaseBand (ABB).                                    */
-/*                      It is assumed that the ABB is connected as the SPI        */
-/*                      device 0.                                                 */
-/*                                                                                */
-/*   Author           : Pascal PUEL                                               */
-/*                                                                                */
-/*   Version number   : 1.3                                                       */
-/*                                                                                */
-/*   Date and time    : 08/22/03                                                       */
-/*                                                                                */
-/*   Previous delta   : Creation                                                  */
-/*                                                                                */
-/**********************************************************************************/
+/******************************************************************************/
+/*          TEXAS INSTRUMENTS INCORPORATED PROPRIETARY INFORMATION            */
+/*                                                                            */
+/* Property of Texas Instruments -- For  Unrestricted  Internal  Use  Only    */
+/* Unauthorized reproduction and/or distribution is strictly prohibited.  This*/
+/* product  is  protected  under  copyright  law  and  trade  secret law as an*/
+/* unpublished work.  Created 1987, (C) Copyright 1997 Texas Instruments.  All*/
+/* rights reserved.                                                           */
+/*                                                                            */
+/*                                                                            */
+/* Filename         : abb.c                                                   */
+/*                                                                            */
+/* Description      : Functions to drive the ABB device.                      */
+/*                    The Serial Port Interface is used to connect the TI     */
+/*                    Analog BaseBand (ABB).                                  */
+/*                    It is assumed that the ABB is connected as the SPI      */
+/*                    device 0.                                               */
+/*                                                                            */
+/* Author           : Pascal PUEL                                             */
+/*                                                                            */
+/* Version number   : 1.3                                                     */
+/*                                                                            */
+/* Date and time    : 08/22/03                                                */
+/*                                                                            */
+/* Previous delta   : Creation                                                */
+/*                                                                            */
+/******************************************************************************/
 
 #include "../../include/config.h"
 #include "../../include/sys_types.h"
@@ -604,7 +604,7 @@
   #if (ABB_SEMAPHORE_PROTECTION == 3)  
 
   // check if the semaphore has been correctly created and try to obtain it.
-  // if the semaphore cannot be obtained, the task is suspended and then resumed 
+  // if the semaphore cannot be obtained, the task is suspended and then resumed
   // as soon as the semaphore is released.
   if(&abb_sem != 0)
   {
@@ -670,7 +670,7 @@
   #if (ABB_SEMAPHORE_PROTECTION == 3)  
 
   // check if the semaphore has been correctly created and try to obtain it.
-  // if the semaphore cannot be obtained, the task is suspended and then resumed 
+  // if the semaphore cannot be obtained, the task is suspended and then resumed
   // as soon as the semaphore is released.
   if(&abb_sem != 0)
   {
--- a/gsm-fw/bsp/abb+spi/abb_core_inth.c	Sun Aug 17 00:08:50 2014 +0000
+++ b/gsm-fw/bsp/abb+spi/abb_core_inth.c	Sun Aug 17 00:35:56 2014 +0000
@@ -1,37 +1,37 @@
-/**********************************************************************************/
-/*            TEXAS INSTRUMENTS INCORPORATED PROPRIETARY INFORMATION              */
-/*                                                                                */
-/*   Property of Texas Instruments -- For  Unrestricted  Internal  Use  Only      */
-/*   Unauthorized reproduction and/or distribution is strictly prohibited.  This  */
-/*   product  is  protected  under  copyright  law  and  trade  secret law as an  */
-/*   unpublished work.  Created 1987, (C) Copyright 1997 Texas Instruments.  All  */
-/*   rights reserved.                                                             */
-/*                                                                                */
-/*                                                                                */
-/*   Filename          : abb_core_inth.c                                          */
-/*                                                                                */
-/*   Description       : Functions to manage the ABB device interrupt.            */
-/*                       The Serial Port Interface is used to connect the TI 	    */
-/*                       Analog BaseBand (ABB).    				                        */
-/*          						 It is assumed that the ABB is connected as the SPI       */																				  
-/*                       device 0, and ABB interrupt is mapped as external IT.    */																				  
-/*                                                                                */
-/*   Author            : Pascal PUEL                                              */
-/*                                                                                */
-/*   Version number   : 1.2                                                       */
-/*                                                                                */
-/*   Date and time    : 07/02/03                                                  */
-/*                                                                                */
-/*   Previous delta   : Creation                                                  */
-/*                                                                                */
-/**********************************************************************************/
-/*                                                                                */
-/*   17/12/03                                                                     */
-/*   The original abb_inth.c has been splitted between the actual abb_inth.c      */
-/*   located in drv_apps directory and abb_inth_core.c located in drv_core        */
-/*   directory.                                                                   */
-/*                                                                                */
-/**********************************************************************************/
+/******************************************************************************/
+/*          TEXAS INSTRUMENTS INCORPORATED PROPRIETARY INFORMATION            */
+/*                                                                            */
+/* Property of Texas Instruments -- For  Unrestricted  Internal  Use  Only    */
+/* Unauthorized reproduction and/or distribution is strictly prohibited.  This*/
+/* product  is  protected  under  copyright  law  and  trade  secret law as an*/
+/* unpublished work.  Created 1987, (C) Copyright 1997 Texas Instruments.  All*/
+/* rights reserved.                                                           */
+/*                                                                            */
+/*                                                                            */
+/* Filename          : abb_core_inth.c                                        */
+/*                                                                            */
+/* Description       : Functions to manage the ABB device interrupt.          */
+/*                     The Serial Port Interface is used to connect the TI    */
+/*                     Analog BaseBand (ABB).    			      */
+/*		       It is assumed that the ABB is connected as the SPI     */
+/*                     device 0, and ABB interrupt is mapped as external IT.  */
+/*                                                                            */
+/* Author            : Pascal PUEL                                            */
+/*                                                                            */
+/* Version number   : 1.2                                                     */
+/*                                                                            */
+/* Date and time    : 07/02/03                                                */
+/*                                                                            */
+/* Previous delta   : Creation                                                */
+/*                                                                            */
+/******************************************************************************/
+/*                                                                            */
+/* 17/12/03                                                                   */
+/* The original abb_inth.c has been splitted between the actual abb_inth.c    */
+/* located in drv_apps directory and abb_inth_core.c located in drv_core      */
+/* directory.                                                                 */
+/*                                                                            */
+/******************************************************************************/
 
 #include "../../include/config.h"
 #include "../../L1/include/l1_confg.h"
@@ -79,7 +79,7 @@
 /* Create_ABB_HISR()                                                     */
 /*                                                                       */
 /* This function is called from Layer1 during initialization process 	 */
-/* to create the HISR associated to the ABB External Interrupt.			 */
+/* to create the HISR associated to the ABB External Interrupt.		 */
 /*                                                                       */
 /*-----------------------------------------------------------------------*/    
 void Create_ABB_HISR(void)
@@ -98,7 +98,7 @@
 /* Activate_ABB_HISR()                                                   */
 /*                                                                       */
 /* This function is called from the interrupt handler to activate        */
-/* the HISR associated to the ABB External Interrupt.       			 */
+/* the HISR associated to the ABB External Interrupt.  			 */
 /*                                                                       */
 /*-----------------------------------------------------------------------*/    
 SYS_BOOL Activate_ABB_HISR(void)
--- a/gsm-fw/bsp/abb+spi/abb_inth.c	Sun Aug 17 00:08:50 2014 +0000
+++ b/gsm-fw/bsp/abb+spi/abb_inth.c	Sun Aug 17 00:35:56 2014 +0000
@@ -1,37 +1,37 @@
-/**********************************************************************************/
-/*            TEXAS INSTRUMENTS INCORPORATED PROPRIETARY INFORMATION              */
-/*                                                                                */
-/*   Property of Texas Instruments -- For  Unrestricted  Internal  Use  Only      */
-/*   Unauthorized reproduction and/or distribution is strictly prohibited.  This  */
-/*   product  is  protected  under  copyright  law  and  trade  secret law as an  */
-/*   unpublished work.  Created 1987, (C) Copyright 1997 Texas Instruments.  All  */
-/*   rights reserved.                                                             */
-/*                                                                                */
-/*                                                                                */
-/*   Filename          : abb_inth.c                                               */
-/*                                                                                */
-/*   Description       : Functions to manage the ABB device interrupt.            */
-/*                       The Serial Port Interface is used to connect the TI   	  */
-/*						           Analog BaseBand (ABB).				    				                */
-/*						           It is assumed that the ABB is connected as the SPI       */																				  
-/*                       device 0, and ABB interrupt is mapped as external IT.    */																				  
-/*                                                                                */
-/*   Author            : Pascal PUEL                                              */
-/*                                                                                */
-/*   Version number   : 1.2                                                       */
-/*                                                                                */
-/*   Date and time    : 07/02/03                                                  */
-/*                                                                                */
-/*   Previous delta   : Creation                                                  */
-/*                                                                                */
-/**********************************************************************************/
-/*                                                                                */
-/*   17/12/03                                                                     */
-/*   The original abb_inth.c has been splitted between the actual abb_inth.c      */
-/*   located in drv_apps directory and abb_inth_core.c located in drv_core        */
-/*   directory.                                                                   */
-/*                                                                                */
-/**********************************************************************************/
+/******************************************************************************/
+/*          TEXAS INSTRUMENTS INCORPORATED PROPRIETARY INFORMATION            */
+/*                                                                            */
+/* Property of Texas Instruments -- For  Unrestricted  Internal  Use  Only    */
+/* Unauthorized reproduction and/or distribution is strictly prohibited.  This*/
+/* product  is  protected  under  copyright  law  and  trade  secret law as an*/
+/* unpublished work.  Created 1987, (C) Copyright 1997 Texas Instruments.  All*/
+/* rights reserved.                                                           */
+/*                                                                            */
+/*                                                                            */
+/* Filename          : abb_inth.c                                             */
+/*                                                                            */
+/* Description       : Functions to manage the ABB device interrupt.          */
+/*                     The Serial Port Interface is used to connect the TI    */
+/*	               Analog BaseBand (ABB).				      */
+/*	               It is assumed that the ABB is connected as the SPI     */
+/*                     device 0, and ABB interrupt is mapped as external IT.  */
+/*                                                                            */
+/* Author            : Pascal PUEL                                            */
+/*                                                                            */
+/* Version number   : 1.2                                                     */
+/*                                                                            */
+/* Date and time    : 07/02/03                                                */
+/*                                                                            */
+/* Previous delta   : Creation                                                */
+/*                                                                            */
+/******************************************************************************/
+/*                                                                            */
+/* 17/12/03                                                                   */
+/* The original abb_inth.c has been splitted between the actual abb_inth.c    */
+/* located in drv_apps directory and abb_inth_core.c located in drv_core      */
+/* directory.                                                                 */
+/*                                                                            */
+/******************************************************************************/
 
 #include "l1sw.cfg"
 #include "chipset.cfg"
@@ -75,15 +75,15 @@
   #include "lcc/lcc.h"
   #include "lcc/lcc_env.h"
 #endif
-/********************************************************************************/
-/*                                                                              */
-/*  Function Name: spi_abb_read_int_reg_callback                                */
-/*                                                                              */
-/*  Purpose:      Callback function                                             */
-/*                Called when an external interrupt has occured and the         */
-/*                ABB interrupt register has been read.                         */
-/*                                                                              */
-/********************************************************************************/
+/******************************************************************************/
+/*                                                                            */
+/*  Function Name: spi_abb_read_int_reg_callback                              */
+/*                                                                            */
+/*  Purpose:      Callback function                                           */
+/*                Called when an external interrupt has occured and the       */
+/*                ABB interrupt register has been read.                       */
+/*                                                                            */
+/******************************************************************************/
 void spi_abb_read_int_reg_callback(SYS_UWORD16 *read_value)
 {
    SYS_UWORD16 loop_count;