From: Michal Sojka Date: Fri, 7 Aug 2015 15:50:47 +0000 (+0200) Subject: din: Remove unused function X-Git-Tag: eaton-0.5.5~11 X-Git-Url: http://rtime.felk.cvut.cz/gitweb/pes-rpp/rpp-lib.git/commitdiff_plain/e8f6a3e8471ba6551a316be9df87392cf6f855e3 din: Remove unused function --- diff --git a/rpp/include/drv/din.h b/rpp/include/drv/din.h index f16e128..d7ed092 100644 --- a/rpp/include/drv/din.h +++ b/rpp/include/drv/din.h @@ -79,12 +79,6 @@ int8_t drv_din_get_varthr(uint8_t pin); */ uint16_t din_get_val_word(); -/** - * Get latest response from SPI. Function does not send anything. - * @return latest spi response - */ -int din_spi_response(); - /** * Get last command sent on SPI * @return latest sent command diff --git a/rpp/src/drv/din.c b/rpp/src/drv/din.c index 8d39830..981b827 100644 --- a/rpp/src/drv/din.c +++ b/rpp/src/drv/din.c @@ -157,13 +157,6 @@ uint16_t din_get_val_word() return word; } - -int din_spi_response() -{ - return din_spi_resp; -} - - /* Private functions */ /* ----------------- */ /**