comparison src/cs/drivers/drv_app/spi/spi_process.c @ 259:365833d1d186

drv_app/spi/*: rm trailing white space
author Mychaela Falconia <falcon@freecalypso.org>
date Fri, 14 May 2021 01:30:13 +0000
parents 4e78acac3d88
children 34b7059b9337
comparison
equal deleted inserted replaced
258:45cc81cc6230 259:365833d1d186
114 case SPI_ABB_CONF_ADC_EVT: 114 case SPI_ABB_CONF_ADC_EVT:
115 { 115 {
116 rvf_send_trace("SPI_task: SPI_ABB_CONF_ADC_EVT received", 39, NULL_PARAM, RV_TRACE_LEVEL_DEBUG_LOW, SPI_USE_ID); 116 rvf_send_trace("SPI_task: SPI_ABB_CONF_ADC_EVT received", 39, NULL_PARAM, RV_TRACE_LEVEL_DEBUG_LOW, SPI_USE_ID);
117 117
118 /* Call to the low-level driver function */ 118 /* Call to the low-level driver function */
119 ABB_Conf_ADC(((T_SPI_ABB_CONF_ADC *)msg_ptr)->channels, ((T_SPI_ABB_CONF_ADC *)msg_ptr)->itval); 119 ABB_Conf_ADC(((T_SPI_ABB_CONF_ADC *)msg_ptr)->channels, ((T_SPI_ABB_CONF_ADC *)msg_ptr)->itval);
120 120
121 rvf_free_buf ((void *) msg_ptr); 121 rvf_free_buf ((void *) msg_ptr);
122 122
123 return 0; 123 return 0;
124 } 124 }
151 rvf_send_trace("SPI_task : Received an unknown message",38, NULL_PARAM , 151 rvf_send_trace("SPI_task : Received an unknown message",38, NULL_PARAM ,
152 RV_TRACE_LEVEL_DEBUG_HIGH, SPI_USE_ID); 152 RV_TRACE_LEVEL_DEBUG_HIGH, SPI_USE_ID);
153 153
154 rvf_free_buf ((void *) msg_ptr); 154 rvf_free_buf ((void *) msg_ptr);
155 #endif 155 #endif
156 156
157 return 1; 157 return 1;
158 } 158 }
159 } // end of switch 159 } // end of switch
160 } // end of if (msg_ptr != NULL) 160 } // end of if (msg_ptr != NULL)
161 return 0; 161 return 0;
162 } 162 }