Skip to content

Commit fa09fff

Browse files
committed
Fix interleaved ifdefs with DEVICE_SPI_ASYNCH + DOXYGEN_ONLY
1 parent 889a98e commit fa09fff

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

drivers/SPI.h

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -289,7 +289,11 @@ class SPI : private NonCopyable<SPI> {
289289
static CircularBuffer<Transaction<SPI>, TRANSACTION_QUEUE_SIZE_SPI> _transaction_buffer;
290290
#endif
291291

292-
#endif
292+
#endif //!defined(DOXYGEN_ONLY)
293+
294+
#endif //DEVICE_SPI_ASYNCH
295+
296+
#if !defined(DOXYGEN_ONLY)
293297

294298
protected:
295299
/* Internal SPI object identifying the resources */

0 commit comments

Comments
 (0)