Add clarification for interface_spi

This commit is contained in:
jacob.eva 2024-07-09 09:41:14 +01:00
parent 35e9f36ffd
commit 63eab05014
No known key found for this signature in database
GPG Key ID: 0B92E083BBCCAA1E

View File

@ -706,6 +706,7 @@
#endif #endif
#ifndef INTERFACE_SPI #ifndef INTERFACE_SPI
// INTERFACE_SPI is only required on NRF52 platforms, as the SPI pins are set in the class constructor and not by a setter method.
// Even if custom SPI interfaces are not needed, the array must exist to prevent compilation errors. // Even if custom SPI interfaces are not needed, the array must exist to prevent compilation errors.
#define INTERFACE_SPI #define INTERFACE_SPI
const SPIClass interface_spi[1]; const SPIClass interface_spi[1];