Skip to content

Commit

Permalink
plugins: fix result_str comments
Browse files Browse the repository at this point in the history
  • Loading branch information
julianoes committed Nov 20, 2017
1 parent 3816812 commit 21654a4
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 4 deletions.
4 changes: 2 additions & 2 deletions plugins/action/action.h
Expand Up @@ -53,10 +53,10 @@ class Action
/**
* @brief Returns a human-readable English string for an Action::Result.
*
* @param Result The enum value for which a human readable string is required.
* @param result The enum value for which a human readable string is required.
* @return Human readable string for the Action::Result.
*/
static const char *result_str(Result);
static const char *result_str(Result result);

/**
* @brief Send command to *arm* the drone (synchronous).
Expand Down
2 changes: 1 addition & 1 deletion plugins/gimbal/gimbal.h
Expand Up @@ -39,7 +39,7 @@ class Gimbal
/**
* @brief Returns a human-readable English string for Gimbal::Result.
*
* @param Result The enum value for which a human readable string is required.
* @param result The enum value for which a human readable string is required.
* @return Human readable string for the Gimbal::Result.
*/
static const char *result_str(Result result);
Expand Down
2 changes: 1 addition & 1 deletion plugins/logging/logging.h
Expand Up @@ -41,7 +41,7 @@ class Logging
* @brief Returns human-readable English string for Logging::Result.
*
* @param result Enum for which string is required.
* @return result Human-readable string.
* @return result Human-readable string for Logging::Result.
*/
static const char *result_str(Result result);

Expand Down
3 changes: 3 additions & 0 deletions plugins/mission/mission.h
Expand Up @@ -42,6 +42,9 @@ class Mission

/**
* @brief Gets a human-readable English string for an Mission::Result.
*
* @param result Enum for which string is required.
* @return Human readable string for the Mission::Result.
*/
static const char *result_str(Result result);

Expand Down
1 change: 1 addition & 0 deletions plugins/telemetry/telemetry.h
Expand Up @@ -155,6 +155,7 @@ class Telemetry
* @brief Get human-readable English string for Telemetry::Result.
*
* @param result The enum value for which string is needed.
* @return Human readable string for the Telemetry::Result.
*/
static const char *result_str(Result result);

Expand Down

0 comments on commit 21654a4

Please sign in to comment.