fixed static call to SPI1 so spi lib can be used with multipl SPI peripherals
fixed error which locks up disk_write on an even number of secors