disable MOSI in SPI Library

Hi,

On an Arduino Uno i use a magnetic rotary position encoder via SPI. I only need reading the device. Therefore i do not need the MOSI connection (3wire read only, SPI_Mode1). Is it possible to modifiy the SPI-Library that i can use pin11 (MOSI) for another purpose?

cheers

If you use the SPI hardware it takes control of the MOSI line. You cannot use it otherwise while the SPI hardware is active.