No idea
Diff: ATParser.cpp
- Revision:
- 8:91515b168c70
- Parent:
- 7:d1b193880af1
- Child:
- 9:9bcb87c27208
--- a/ATParser.cpp Mon Jul 20 18:23:54 2015 +0000 +++ b/ATParser.cpp Mon Jul 20 20:56:30 2015 +0000 @@ -195,20 +195,6 @@ return true; } -bool ATParser::vcommand(const char *command, const char *response, va_list args) { - if (command) { - if (!vsend(command, args)) - return false; - } - - if (response) { - if (!vrecv(response, args)) - return false; - } - - return true; -} - // Mapping to vararg functions bool ATParser::send(const char *command, ...) { @@ -226,11 +212,3 @@ va_end(args); return res; } - -bool ATParser::command(const char *command, const char *response, ...) { - va_list args; - va_start(args, response); - bool res = vcommand(command, response, args); - va_end(args); - return res; -}