FreeCalypso > hg > fc-tourmaline
diff src/cs/drivers/drv_app/spi/spi_api.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 |
line wrap: on
line diff
--- a/src/cs/drivers/drv_app/spi/spi_api.c Fri May 14 00:11:30 2021 +0000 +++ b/src/cs/drivers/drv_app/spi/spi_api.c Fri May 14 01:30:13 2021 +0000 @@ -2,7 +2,7 @@ * * File Name: spi_api.c * -* Bridge functions used to send events to the SPI task +* Bridge functions used to send events to the SPI task * * (C) Texas Instruments, all rights reserved * @@ -10,7 +10,7 @@ * * History: 0.1 - Created by Candice Bazanegue * -* Author: +* Author: * *********************************************************************************/ @@ -34,19 +34,19 @@ /* check if the driver has been started */ if (SPI_GBL_INFO_PTR == NULL) { - rvf_send_trace("ABB read not possible. Reason: SPI task not started",51, NULL_PARAM, + rvf_send_trace("ABB read not possible. Reason: SPI task not started",51, NULL_PARAM, RV_TRACE_LEVEL_WARNING, SPI_USE_ID); return (RVM_NOT_READY); } if(SPI_GBL_INFO_PTR->SpiTaskReady == FALSE) { - rvf_send_trace("ABB read not possible. Reason: SPI Task not ready",49, NULL_PARAM, + rvf_send_trace("ABB read not possible. Reason: SPI Task not ready",49, NULL_PARAM, RV_TRACE_LEVEL_WARNING, SPI_USE_ID); return (RVM_NOT_READY); } - rvf_send_trace("SPI_ABB_READ",12, NULL_PARAM, + rvf_send_trace("SPI_ABB_READ",12, NULL_PARAM, RV_TRACE_LEVEL_WARNING, SPI_USE_ID); if (rvf_get_buf (SPI_GBL_INFO_PTR->prim_id, sizeof (T_SPI_READ),(void **) &msgPtr) == RVF_RED) @@ -87,14 +87,14 @@ /* check if the driver has been started */ if (SPI_GBL_INFO_PTR == NULL) { - rvf_send_trace("ABB write not possible. Reason: SPI task not started",52, NULL_PARAM, + rvf_send_trace("ABB write not possible. Reason: SPI task not started",52, NULL_PARAM, RV_TRACE_LEVEL_WARNING, SPI_USE_ID); return (RVM_NOT_READY); } if(SPI_GBL_INFO_PTR->SpiTaskReady == FALSE) { - rvf_send_trace("ABB write not possible. Reason: SPI Task not ready",50, NULL_PARAM, + rvf_send_trace("ABB write not possible. Reason: SPI Task not ready",50, NULL_PARAM, RV_TRACE_LEVEL_WARNING, SPI_USE_ID); return (RVM_NOT_READY); } @@ -137,19 +137,19 @@ /* check if the driver has been started */ if (SPI_GBL_INFO_PTR == NULL) { - rvf_send_trace("ABB conf ADC not possible. Reason: SPI task not started",55, NULL_PARAM, + rvf_send_trace("ABB conf ADC not possible. Reason: SPI task not started",55, NULL_PARAM, RV_TRACE_LEVEL_WARNING, SPI_USE_ID); return (RVM_NOT_READY); } if(SPI_GBL_INFO_PTR->SpiTaskReady == FALSE) { - rvf_send_trace("ABB conf ADC not possible. Reason: SPI Task not ready",53, NULL_PARAM, + rvf_send_trace("ABB conf ADC not possible. Reason: SPI Task not ready",53, NULL_PARAM, RV_TRACE_LEVEL_WARNING, SPI_USE_ID); return (RVM_NOT_READY); } - rvf_send_trace("SPI_ABB_CONF_ADC",16, NULL_PARAM, + rvf_send_trace("SPI_ABB_CONF_ADC",16, NULL_PARAM, RV_TRACE_LEVEL_WARNING, SPI_USE_ID); if (rvf_get_buf (SPI_GBL_INFO_PTR->prim_id, sizeof (T_SPI_ABB_CONF_ADC),(void **) &msgPtr) == RVF_RED) @@ -188,19 +188,19 @@ /* check if the driver has been started */ if (SPI_GBL_INFO_PTR == NULL) { - rvf_send_trace("ABB read ADC not possible. Reason: SPI task not started",55, NULL_PARAM, + rvf_send_trace("ABB read ADC not possible. Reason: SPI task not started",55, NULL_PARAM, RV_TRACE_LEVEL_WARNING, SPI_USE_ID); return (RVM_NOT_READY); } if(SPI_GBL_INFO_PTR->SpiTaskReady == FALSE) { - rvf_send_trace("ABB conf ADC not possible. Reason: SPI Task not ready",53, NULL_PARAM, + rvf_send_trace("ABB conf ADC not possible. Reason: SPI Task not ready",53, NULL_PARAM, RV_TRACE_LEVEL_WARNING, SPI_USE_ID); return (RVM_NOT_READY); } - rvf_send_trace("SPI_ABB_READ_ADC",16, NULL_PARAM, + rvf_send_trace("SPI_ABB_READ_ADC",16, NULL_PARAM, RV_TRACE_LEVEL_WARNING, SPI_USE_ID); if (rvf_get_buf (SPI_GBL_INFO_PTR->prim_id, sizeof (T_SPI_ABB_READ_ADC),(void **) &msgPtr) == RVF_RED)