From 63eab05014f7c391066e89df0708f9a50ccb2650 Mon Sep 17 00:00:00 2001 From: "jacob.eva" Date: Tue, 9 Jul 2024 09:41:14 +0100 Subject: [PATCH] Add clarification for interface_spi --- Boards.h | 1 + 1 file changed, 1 insertion(+) 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];