aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/templates
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2010-10-10 16:28:34 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2010-10-10 16:28:34 +0000
commit1c9c40543009ecd95b56362e6564d26a2755b92a (patch)
tree208f9e85f725d1daec144fb8c06c3ae265255626 /os/hal/templates
parent70ab312f0f88f24cf1e4f33218cff877c6c0b3c2 (diff)
downloadChibiOS-1c9c40543009ecd95b56362e6564d26a2755b92a.tar.gz
ChibiOS-1c9c40543009ecd95b56362e6564d26a2755b92a.tar.bz2
ChibiOS-1c9c40543009ecd95b56362e6564d26a2755b92a.zip
Fixed bug 3084764. More enhancements to the SPI driver.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@2244 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal/templates')
-rw-r--r--os/hal/templates/spi_lld.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/os/hal/templates/spi_lld.h b/os/hal/templates/spi_lld.h
index 152784701..2aa63b455 100644
--- a/os/hal/templates/spi_lld.h
+++ b/os/hal/templates/spi_lld.h
@@ -77,6 +77,12 @@ typedef struct {
* @brief Driver state.
*/
spistate_t spd_state;
+#if SPI_USE_WAIT || defined(__DOXYGEN__)
+ /**
+ * @brief Waiting thread.
+ */
+ Thread *spd_thread;
+#endif /* SPI_USE_WAIT */
#if SPI_USE_MUTUAL_EXCLUSION || defined(__DOXYGEN__)
#if CH_USE_MUTEXES || defined(__DOXYGEN__)
/**