We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 636af25 + 1febc6b commit bb8182fCopy full SHA for bb8182f
ESP8266/ATParser/ATParser.cpp
@@ -325,5 +325,9 @@ bool ATParser::recv(const char *response, ...)
325
// oob registration
326
void ATParser::oob(const char *prefix, Callback<void()> cb)
327
{
328
- _oobs.push_back((struct oob){strlen(prefix), prefix, cb});
+ struct oob oob;
329
+ oob.len = strlen(prefix);
330
+ oob.prefix = prefix;
331
+ oob.cb = cb;
332
+ _oobs.push_back(oob);
333
}
0 commit comments