Private
Public Access
2
0

maa: add result print function.

* Fixed error in comments in maa.h

Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com>
This commit is contained in:
Thomas Ingleby
2014-05-06 15:29:42 +01:00
parent 171f66208e
commit 019853d2fd
2 changed files with 57 additions and 1 deletions

View File

@@ -50,7 +50,7 @@ typedef enum {
MAA_ERROR_NO_DATA_AVAILABLE = 9, /**< No data available */
MAA_ERROR_INVALID_PLATFORM = 10, /**< Platform not recognised */
MAA_ERROR_PLATFORM_NOT_INITIALISED = 11, /**< Board information not initialised */
MAA_ERROR_PLATFORM_ALREADY_INITIALISED = 12, /**< Board is already initialised
MAA_ERROR_PLATFORM_ALREADY_INITIALISED = 12, /**< Board is already initialised */
MAA_ERROR_UNSPECIFIED = 99 /**< Unknown Error */
} maa_result_t;
@@ -202,6 +202,12 @@ maa_pin_t* maa_check_pwm(int pin);
*/
const char* maa_get_version();
/** Print a textual representation of the maa_result_t
*
* @param result the result to print,
*/
void maa_result_print(maa_result_t result);
#ifdef __cplusplus
}
#endif