Private
Public Access
2
0

api/platform_name: Change return when null platform

Easier to error check against

Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com>
This commit is contained in:
Thomas Ingleby
2015-01-21 15:39:29 +00:00
parent 53a9a7dce4
commit e8bc227a92
3 changed files with 5 additions and 4 deletions

View File

@@ -237,7 +237,7 @@ unsigned int mraa_adc_supported_bits();
mraa_result_t mraa_set_log_level(int level);
/**
* Return the Platform's Name, If no platform detected return "Unknown"
* Return the Platform's Name, If no platform detected return NULL
*
* @return platform name
*/

View File

@@ -117,7 +117,7 @@ inline unsigned int adcSupportedBits()
}
/**
* Return Platform Name. "Unknown" if no platform inited.
* Return Platform Name. Returns NULL if no platform inited.
*
* @return platform name
*/