At the moment SPI3, unlike SPI4 or I2C, cannot be disabled and the driver always includes SPI3 protocol code. This change allows a program to exclude SPI3 if it is not needed.
For example, when only SPI4 is needed, a program would set these variables in the Makefile:
At the moment SPI3, unlike SPI4 or I2C, cannot be disabled and the driver always includes SPI3 protocol code. This change allows a program to exclude SPI3 if it is not needed.
For example, when only SPI4 is needed, a program would set these variables in the Makefile:
The change in
ssd1306.c
is to suppress "unused variable" warning asj
is used only by SPI3.