common: fix documentation string on mraa_init
authorBrendan Le Foll <brendan.le.foll@intel.com>
Thu, 19 Mar 2015 09:29:41 +0000 (09:29 +0000)
committerBrendan Le Foll <brendan.le.foll@intel.com>
Thu, 19 Mar 2015 09:30:25 +0000 (09:30 +0000)
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
api/mraa/common.h
api/mraa/common.hpp

index 9c75536..3dfcca7 100644 (file)
@@ -48,7 +48,9 @@ typedef unsigned int mraa_boolean_t;
  *
  * Detects running platform and attempts to use included pinmap, this is run on
  * module/library init/load but is handy to rerun to check board initialised
- * correctly. Anything but MRAA_SUCCESS should be considered a critical failure
+ * correctly. MRAA_SUCCESS inidicates correct (first time) initialisation
+ * whilst MRAA_ERROR_PLATFORM_ALREADY_INITIALISED indicates the board is
+ * already initialised correctly
  *
  * @return Result of operation
  */
index fb4bb40..14c00c1 100644 (file)
@@ -44,7 +44,9 @@ namespace mraa {
  *
  * Detects running platform and attempts to use included pinmap, this is run on
  * module/library init/load but is handy to rerun to check board initialised
- * correctly. Anything but MRAA_SUCCESS should be considered a critical failure
+ * correctly. MRAA_SUCCESS inidicates correct (first time) initialisation
+ * whilst MRAA_ERROR_PLATFORM_ALREADY_INITIALISED indicates the board is
+ * already initialised correctly
  *
  * @return Result of operation
  */