Private
Public Access
2
0

mraa.c: make mraa_get_platform_name use a const char

Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
This commit is contained in:
Brendan Le Foll
2016-01-20 15:58:28 +00:00
parent bdb5ef66e9
commit 0aed0003ff
4 changed files with 12 additions and 8 deletions

View File

@@ -33,7 +33,7 @@ main(int argc, char** argv)
{
mraa_platform_t platform = mraa_get_platform_type();
mraa_gpio_context gpio, gpio_in = NULL;
char* board_name = mraa_get_platform_name();
const char* board_name = mraa_get_platform_name();
int ledstate = 0;
switch (platform) {