Added NUCLEO-F103RB support
Fork of mbed-rpc by
Diff: Arguments.cpp
- Revision:
- 19:e65ed29fd4d1
- Parent:
- 18:e6a835c40639
- Child:
- 20:635b0fd3d1bd
--- a/Arguments.cpp Mon Jun 13 22:40:45 2016 +0000 +++ b/Arguments.cpp Thu Jun 16 08:37:15 2016 +0000 @@ -84,6 +84,15 @@ return argv[index]; } +template<> char* Arguments::getArg<char*>(void) { + index++; + if (index < argc) { + return argv[index]; + } + + return 0; +} + template<> char Arguments::getArg<char>(void) { index++; return *argv[index];