]> git.tnoah.ca Git - lora-radio.git/commitdiff
Add clarification for interface_spi
authorjacob.eva <x00010@disroot.org>
Tue, 9 Jul 2024 08:41:14 +0000 (09:41 +0100)
committerjacob.eva <x00010@disroot.org>
Tue, 9 Jul 2024 08:41:14 +0000 (09:41 +0100)
Boards.h

index 2165509825258bc1eaabad1dd67989fb3882f742..45650e34d3ce7101f6ab432b75289d02df239d1a 100644 (file)
--- a/Boards.h
+++ b/Boards.h
 
   #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];