Private
Public Access
2
0

mraa.c: fix ARMPLAT elif not being done on define like if statement

Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
This commit is contained in:
Brendan Le Foll
2015-07-24 12:34:41 +00:00
parent 6d39902a8a
commit 5717bba0d4

View File

@@ -98,10 +98,10 @@ mraa_init()
advance_func = (mraa_adv_func_t*) malloc(sizeof(mraa_adv_func_t));
memset(advance_func, 0, sizeof(mraa_adv_func_t));
#ifdef X86PLAT
#if defined(X86PLAT)
// Use runtime x86 platform detection
platform_type = mraa_x86_platform();
#elif ARMPLAT
#elif defined(ARMPLAT)
// Use runtime ARM platform detection
platform_type = mraa_arm_platform();
#else