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.
Fork of X_NUCLEO_IDW01M1 by
Diff: Spwf_API/utils/ItfTranslator.cpp
- Revision:
- 8:0f302a13e21b
- Parent:
- 6:e7a3fca2df10
- Child:
- 12:3799f8475c8a
diff -r 0fdd186a7d90 -r 0f302a13e21b Spwf_API/utils/ItfTranslator.cpp
--- a/Spwf_API/utils/ItfTranslator.cpp Wed May 11 06:12:16 2016 +0000
+++ b/Spwf_API/utils/ItfTranslator.cpp Thu May 12 07:36:13 2016 +0000
@@ -61,9 +61,9 @@
return(device->spwf_get());
}
-void callSpwfSADevice_write(void* object, const char * cmd, uint16_t size)
+int callSpwfSADevice_write(void* object, const char * cmd, uint16_t size)
{
- device->spwf_send(cmd, size);
+ return (device->spwf_send(cmd, size));
}
void callSpwfSADevice_wakeup(void* object, int wake)
