Mbed Cloud Connect for Ethernet Platforms
Fork of example-Ethernet-mbed-Cloud-connect by
Diff: main.cpp
- Branch:
- update-1.3.0
- Revision:
- 8:f4f5b7622f8d
- Parent:
- 6:2d0e0866f2e7
- Child:
- 10:8da380655d09
diff -r b52a8d71c26e -r f4f5b7622f8d main.cpp
--- a/main.cpp Sat May 12 10:53:42 2018 +0100
+++ b/main.cpp Mon May 14 10:37:14 2018 +0100
@@ -28,7 +28,7 @@
// Storage implementation definition, currently using SDBlockDevice (SPI flash, DataFlash, and internal flash are also available)
SDBlockDevice bd(MBED_CONF_APP_SPI_MOSI, MBED_CONF_APP_SPI_MISO, MBED_CONF_APP_SPI_CLK, MBED_CONF_APP_SPI_CS);
-FATFileSystem fs("sd", &sd);
+FATFileSystem fs("sd", &bd);
// Declaring pointers for access to Mbed Cloud Client resources outside of main()
MbedCloudClientResource *button_res;
