FreeCalypso > hg > fc-tourmaline
diff src/cs/drivers/drv_app/spi/spi_api.c @ 260:34b7059b9337
drv_app/spi/*: code readability fixes
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Fri, 14 May 2021 02:13:47 +0000 |
parents | 365833d1d186 |
children |
line wrap: on
line diff
--- a/src/cs/drivers/drv_app/spi/spi_api.c Fri May 14 01:30:13 2021 +0000 +++ b/src/cs/drivers/drv_app/spi/spi_api.c Fri May 14 02:13:47 2021 +0000 @@ -21,12 +21,11 @@ #include "rvm/rvm_use_id_list.h" - -/********************************************************************************/ -/* */ -/* Function Name: spi_abb_read */ -/* */ -/********************************************************************************/ +/******************************************************************************/ +/* */ +/* Function Name: spi_abb_read */ +/* */ +/******************************************************************************/ T_RV_RET spi_abb_read(UINT16 page, UINT16 address, CALLBACK_FUNC_U16 CallBack) { T_SPI_READ *msgPtr; @@ -73,13 +72,11 @@ } - - -/********************************************************************************/ -/* */ -/* Function Name: spi_abb_write */ -/* */ -/********************************************************************************/ +/******************************************************************************/ +/* */ +/* Function Name: spi_abb_write */ +/* */ +/******************************************************************************/ T_RV_RET spi_abb_write(UINT16 page, UINT16 address, UINT16 data) { T_SPI_WRITE *msgPtr; @@ -123,13 +120,11 @@ } - - -/********************************************************************************/ -/* */ -/* Function Name: spi_abb_conf_ADC */ -/* */ -/********************************************************************************/ +/******************************************************************************/ +/* */ +/* Function Name: spi_abb_conf_ADC */ +/* */ +/******************************************************************************/ T_RV_RET spi_abb_conf_ADC(UINT16 channels, UINT16 itval) { T_SPI_ABB_CONF_ADC *msgPtr; @@ -175,12 +170,11 @@ } - -/********************************************************************************/ -/* */ -/* Function Name: spi_abb_read_ADC */ -/* */ -/********************************************************************************/ +/******************************************************************************/ +/* */ +/* Function Name: spi_abb_read_ADC */ +/* */ +/******************************************************************************/ T_RV_RET spi_abb_read_ADC(UINT16 *Buff, CALLBACK_FUNC_NO_PARAM CallBack) { T_SPI_ABB_READ_ADC *msgPtr; @@ -224,4 +218,3 @@ return (RV_OK); } -