FreeCalypso > hg > freecalypso-sw
comparison gsm-fw/bsp/abb+spi/spi_task.c @ 589:54459b912ef0
gsm-fw/bsp/abb+spi/spi_*.c: formatting fixes (line length and tabs)
author | Michael Spacefalcon <msokolov@ivan.Harhan.ORG> |
---|---|
date | Sun, 17 Aug 2014 00:56:26 +0000 |
parents | e48ea5875df7 |
children | d8594785527c |
comparison
equal
deleted
inserted
replaced
588:1c0033c2fe33 | 589:54459b912ef0 |
---|---|
42 | 42 |
43 /******************************************************************************* | 43 /******************************************************************************* |
44 ** Function spi_core | 44 ** Function spi_core |
45 ** | 45 ** |
46 ** Description Core of the spi task, which initiliazes the spi SWE and | 46 ** Description Core of the spi task, which initiliazes the spi SWE and |
47 ** waits for messages. | 47 ** waits for messages. |
48 ** | 48 ** |
49 *******************************************************************************/ | 49 *******************************************************************************/ |
50 T_RV_RET spi_core(void) | 50 T_RV_RET spi_core(void) |
51 { | 51 { |
52 BOOLEAN error_occured = FALSE; | 52 BOOLEAN error_occured = FALSE; |
120 return RV_OK; | 120 return RV_OK; |
121 } | 121 } |
122 | 122 |
123 | 123 |
124 | 124 |
125 /********************************************************************************** | 125 /******************************************************************************* |
126 * Function : spi_adc_on | 126 * Function : spi_adc_on |
127 * | 127 * |
128 * Description : Put the variable is_adc_on of the T_SPI_GBL_INFO structure to TRUE. | 128 * Description : Put the variable is_adc_on of the T_SPI_GBL_INFO structure |
129 * This variable is used for the battery management. | 129 * to TRUE. |
130 * This variable is used for the battery management. | |
130 * This function is called by the CST entity. | 131 * This function is called by the CST entity. |
131 * | 132 * |
132 * Parameters : None | 133 * Parameters : None |
133 * | 134 * |
134 * Return : None | 135 * Return : None |
135 * | 136 * |
136 **********************************************************************************/ | 137 *******************************************************************************/ |
137 void spi_adc_on (void) | 138 void spi_adc_on (void) |
138 { | 139 { |
139 SPI_GBL_INFO_PTR->is_adc_on = TRUE; | 140 SPI_GBL_INFO_PTR->is_adc_on = TRUE; |
140 | 141 |
141 rvf_send_trace("SPI: ADC are on",15, | 142 rvf_send_trace("SPI: ADC are on",15, |