FreeCalypso > hg > fc-tourmaline
diff src/cs/drivers/drv_app/spi/spi_env.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_env.c Fri May 14 00:11:30 2021 +0000 +++ b/src/cs/drivers/drv_app/spi/spi_env.c Fri May 14 01:30:13 2021 +0000 @@ -39,14 +39,14 @@ /****************************************************************************** * Function : spi_get_info * -* Description : This function is called by the RV manager to learn +* Description : This function is called by the RV manager to learn * spi requirements in terms of memory, SWEs... * * Parameters : T_RVM_INFO_SWE * swe_info: pointer to the structure to fill * containing infos related to the SPI SWE. * * Return : T_RVM_RETURN -* +* * History : 0.1 (20-August-2000) * * @@ -94,7 +94,7 @@ /****************************************************************************** * Function : spi_set_info * -* Description : This function is called by the RV manager to inform +* Description : This function is called by the RV manager to inform * the spi SWE about task_id, mb_id and error function. * * Parameters : - T_RVM_TASK_ID taskId: task_id. @@ -103,7 +103,7 @@ * - callback function to call in case of unrecoverable error. * * Return : T_RVM_RETURN -* +* * History : 0.1 (20-August-2000) * * @@ -119,14 +119,14 @@ T_RVF_MB_STATUS mb_status; UINT16 i; - rvf_send_trace("SPI : spi_set_info: try to init GLOBAL INFO SPI structure ... ",62, + rvf_send_trace("SPI : spi_set_info: try to init GLOBAL INFO SPI structure ... ",62, NULL_PARAM, RV_TRACE_LEVEL_DEBUG_LOW, SPI_USE_ID); mb_status = rvf_get_buf(mbId[0],sizeof(T_SPI_GBL_INFO),(void **) &SPI_GBL_INFO_PTR); - if (mb_status == RVF_RED) + if (mb_status == RVF_RED) { rvf_send_trace("SPI : spi_set_info: Not enough memory to initiate GLOBAL INFO SPI structure ... ",80, NULL_PARAM, @@ -154,7 +154,7 @@ SPI_GBL_INFO_PTR->SpiTaskReady = FALSE; - /* spi task_id and spi mb_id could be retrieved later + /* spi task_id and spi mb_id could be retrieved later using rvf_get_taskid and rvf_get_mb_id functions */ return RV_OK; @@ -164,13 +164,13 @@ /****************************************************************************** * Function : spi_init * -* Description : This function is called by the RV manager to initialize the -* spi SWE before creating the task and calling spi_start. +* Description : This function is called by the RV manager to initialize the +* spi SWE before creating the task and calling spi_start. * * Parameters : None * * Return : T_RVM_RETURN -* +* * History : 0.1 (20-August-2000) * * @@ -191,7 +191,7 @@ * Parameters : None * * Return : T_RVM_RETURN -* +* * History : 0.1 (20-August-2000) * * @@ -207,13 +207,13 @@ /****************************************************************************** * Function : spi_kill * -* Description : This function is called by the RV manager to kill the spi +* Description : This function is called by the RV manager to kill the spi * SWE, after the spi_stop function has been called. * * Parameters : None * * Return : T_RVM_RETURN -* +* * History : 0.1 (20-August-2000) * *