h4yn0nnym0u5e
Well-known member
Hi folks
Chasing an obscure bug, and I think I might have found it. Or I'm misunderstanding something...
In SPI.h and .cpp, there is lots of conditional compilation for different architectures. Some of these define SPIClass::notUsingInterrupt(), and there is an associated macro SPI_HAS_NOTUSINGINTERRUPT which appears to be intended to indicate whether the function is available. However, despite Teensy LC and Teensy 4.x both having the function, the macro is not defined for them.
Is this a bug, or am I in some way missing the point?
Chasing an obscure bug, and I think I might have found it. Or I'm misunderstanding something...
In SPI.h and .cpp, there is lots of conditional compilation for different architectures. Some of these define SPIClass::notUsingInterrupt(), and there is an associated macro SPI_HAS_NOTUSINGINTERRUPT which appears to be intended to indicate whether the function is available. However, despite Teensy LC and Teensy 4.x both having the function, the macro is not defined for them.
Is this a bug, or am I in some way missing the point?