watterott / ATmega328PB-Testing

Atmel/Microchip ATmega328PB support for Arduino IDE
https://learn.watterott.com
78 stars 61 forks source link

Fix SPI1 slave select #13

Closed markruys closed 7 years ago

markruys commented 7 years ago

Besides some cosmetic changes, this pull request fixes the issue that for SPI1 the wrong slave select is set to output, namely SS0 instead of SS1. As a result SPI1 will easily switch to slave mode and stops generating the clock pulses needed for a master SPI communication.

awatterott commented 7 years ago

Thanks. I have merged the changes.

markruys commented 7 years ago

Just curious, why didn't you merge the pull request? It seems to me that you have manually copied the changed files.

awatterott commented 7 years ago

Your PR also included a .gitignore file and so I have not merged it directly.