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: OSCMessage.cpp
- Revision:
- 16:36d28d8e5491
- Parent:
- 13:c2fe6b720f94
- Child:
- 17:9479c15a9d54
--- a/OSCMessage.cpp Mon Dec 10 16:51:59 2018 +0100 +++ b/OSCMessage.cpp Fri Dec 14 19:36:56 2018 +0100 @@ -24,7 +24,7 @@ //just a placeholder since the message is invalid OSCMessage::OSCMessage(){ setupMessage(); - // error = INVALID_OSC; + error = INVALID_OSC; } //variable length constructor @@ -121,7 +121,7 @@ return -1; } } -/* OSC TIME disabled + osctime_t OSCMessage::getTime(int position){ OSCData * datum = getOSCData(position); if (!hasError()){ @@ -130,7 +130,7 @@ return zerotime; } } -*/ + float OSCMessage::getFloat(int position){ OSCData * datum = getOSCData(position); if (!hasError()){ @@ -755,7 +755,7 @@ } break; case DONE: - break; // TODO: is this correct? - was missing from original code, it did this by default + break; } }