From: jacob.eva Date: Tue, 9 Jul 2024 08:41:14 +0000 (+0100) Subject: Add clarification for interface_spi X-Git-Url: https://git.tnoah.ca/?a=commitdiff_plain;h=63eab05014f7c391066e89df0708f9a50ccb2650;p=lora-radio.git Add clarification for interface_spi --- diff --git a/Boards.h b/Boards.h index 2165509..45650e3 100644 --- a/Boards.h +++ b/Boards.h @@ -706,6 +706,7 @@ #endif #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. #define INTERFACE_SPI const SPIClass interface_spi[1];