From 8ef4d3d9f2cbfbfd5c3efd1980220b917080e2f5 Mon Sep 17 00:00:00 2001 From: canhkha Date: Sun, 12 Mar 2017 06:33:05 +0700 Subject: [PATCH] Update SPIFBlockDevice.h Fix default spi speed to 40mhz --- SPIFBlockDevice.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SPIFBlockDevice.h b/SPIFBlockDevice.h index b9d0f7ef05..a443da02a5 100644 --- a/SPIFBlockDevice.h +++ b/SPIFBlockDevice.h @@ -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 *