Merge pull request #1 from canhkha/patch-1

Fix default spi speed to 40Mhz
pull/7774/head
Christopher Haster 2017-03-21 10:21:34 -05:00 committed by GitHub
commit 2dd0c7923b
1 changed files with 1 additions and 1 deletions

View File

@ -58,7 +58,7 @@ public:
* @param csel SPI chip select pin
* @param freq Clock speed of the SPI bus (defaults to 40MHz)
*/
SPIFBlockDevice(PinName mosi, PinName miso, PinName sclk, PinName csel, int freq=4000000);
SPIFBlockDevice(PinName mosi, PinName miso, PinName sclk, PinName csel, int freq=40000000);
/** Initialize a block device
*