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 */