Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Diff: tests/blocking/file/FileReadTest.cpp
- Revision:
- 15:a835e28308b6
- Parent:
- 12:3dd3a1be40c1
diff -r 779e8b2b50b4 -r a835e28308b6 tests/blocking/file/FileReadTest.cpp --- a/tests/blocking/file/FileReadTest.cpp Wed Aug 13 04:45:36 2014 -0700 +++ b/tests/blocking/file/FileReadTest.cpp Sat Aug 23 05:40:50 2014 -0700 @@ -32,7 +32,7 @@ #include "Wiconnect.h" -static WiconnectResult readFile(File &file); +static WiconnectResult readFile(WiconnectFile &file); @@ -40,7 +40,7 @@ WiconnectResult fileReadCommand(int argc, char **argv) { WiconnectResult result; - File file(TEST_BUFFER_LENGTH, TEST_BUFFER); + WiconnectFile file(TEST_BUFFER_LENGTH, TEST_BUFFER); Wiconnect *wiconnect = Wiconnect::getInstance(); if(argc != 1) @@ -59,7 +59,7 @@ } /*************************************************************************************************/ -static WiconnectResult readFile(File &file) +static WiconnectResult readFile(WiconnectFile &file) { uint8_t *ptr; uint16_t size;