From c5e9fa504f425f0fa11054bee85b2dd50a75b48c Mon Sep 17 00:00:00 2001 From: Tectu Date: Thu, 9 Aug 2012 12:54:22 +0200 Subject: added SPI config struct to TOUCHPADDriver --- halext/include/touchpad_lld.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'halext/include') diff --git a/halext/include/touchpad_lld.h b/halext/include/touchpad_lld.h index c0339e05..45a561d3 100644 --- a/halext/include/touchpad_lld.h +++ b/halext/include/touchpad_lld.h @@ -61,9 +61,13 @@ typedef struct TOUCHPADDriver TOUCHPADDriver; struct TOUCHPADDriver { /* * @brief Pointer to SPI driver. - * @note SPI driver must be enabled in mcu- and halconf.h */ SPIDriver *spid; + + /* + * @brief SPI configuration. + */ + SPIConfig *spicfg; }; /*===========================================================================*/ -- cgit v1.2.3