Update SPIFBlockDevice.h

Fix default spi speed to 40mhz
pull/7774/head
canhkha 2017-03-12 06:33:05 +07:00 committed by GitHub
parent 6e3dcd9103
commit 8ef4d3d9f2
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
*