mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-05-23 14:17:35 +08:00
Typo
This commit is contained in:
@@ -125,7 +125,7 @@ public:
|
||||
|
||||
/**
|
||||
* Get/set the callback object.
|
||||
* Callback must be set before the first event; otherwise the event will generate a fatal error.
|
||||
* Callback must be set before the first event happens; otherwise the event will generate a fatal error.
|
||||
*/
|
||||
const Callback& getCallback() const { return callback_; }
|
||||
void setCallback(const Callback& callback) { callback_ = callback; }
|
||||
|
||||
@@ -103,7 +103,7 @@ public:
|
||||
bool wasSuccessful() const { return call_was_successful_; }
|
||||
|
||||
/**
|
||||
* Use this to retrieve the response on the last blocking service call.
|
||||
* Use this to retrieve the response of the last blocking service call.
|
||||
* This method returns default constructed response object if the last service call was unsuccessful.
|
||||
*/
|
||||
const typename DataType::Response& getResponse() const { return response_; }
|
||||
|
||||
Reference in New Issue
Block a user