Bugfix mutex/sem protecting SPI