As I mentioned in:
http://forums.leaflabs.com/topic.php?id=121
"EDIT2: SPI mode is always 0. In HardwareSPI.cpp, in function void HardwareSPI::begin, line 105, the line is:
spi_init(spi_num, prescale, endianness, 0);
It should be:
spi_init(spi_num, prescale, endianness, mode);"
I've noticed this hasn't been fixed on github (as far as I can see). Thought I might make another topic to bring it up.