Add clarification for interface_spi

master
jacob.eva 8 months ago
parent 35e9f36ffd
commit 63eab05014
No known key found for this signature in database
GPG Key ID: B92E083BBCCAA1E
  1. 1
      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];

Loading…
Cancel
Save