From 6a0d5a68492e3e9a1c1f51857d2109c04f8b0e2f Mon Sep 17 00:00:00 2001 From: Christopher Haster Date: Thu, 25 Oct 2018 11:33:17 -0500 Subject: [PATCH] Fix interleaved ifdefs with DEVICE_SPI_ASYNCH + DOXYGEN_ONLY --- drivers/SPI.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/drivers/SPI.h b/drivers/SPI.h index 92a22ca109..363bbb9142 100644 --- a/drivers/SPI.h +++ b/drivers/SPI.h @@ -289,7 +289,11 @@ private: static CircularBuffer, TRANSACTION_QUEUE_SIZE_SPI> _transaction_buffer; #endif -#endif +#endif //!defined(DOXYGEN_ONLY) + +#endif //DEVICE_SPI_ASYNCH + +#if !defined(DOXYGEN_ONLY) protected: /* Internal SPI object identifying the resources */