SDFileSystemVersion 3.1.1 in SW mode
Posted: Fri Mar 07, 2008 5:03 am
I am testing in SW mode and is complaining about this Sub...
SSPControl1 and SSPStatus are only defined if using MSSP.
It looks like you need the following....
Code: Select all
Sub ReInitSPIPort()
SSPControl1 = SPISpeed Or %00100000 // Setup MSSP module & turn on
SSPStatus = %01000000
End Sub
It looks like you need the following....
Code: Select all
Sub ReInitSPIPort()
#if SD_SPI in (MSSP)
SSPControl1 = SPISpeed Or %00100000 // Setup MSSP module & turn on
SSPStatus = %01000000
#endif
End Sub