Fix SPI definitions

Compiler is using A4-A6 for values 4-6 for SPI and original code assumed
D4-D6