Private
Public Access
2
0

String based IO initialization for MRAA

Signed-off-by: Mihai Stefanescu <mihai.stefanescu@rinftech.com>
Signed-off-by: Noel Eck <noel.eck@intel.com>
This commit is contained in:
Mihai Stefanescu
2018-03-21 15:44:36 +02:00
committed by Noel Eck
parent 4b2279704b
commit ae391fe9fe
13 changed files with 1540 additions and 31 deletions

View File

@@ -111,10 +111,6 @@ TEST_F(api_common_h_unit, test_libmraa_common_methods)
/* MOCK does NOT have a subplatform */
ASSERT_FALSE(mraa_has_sub_platform());
/* Test the string init methods (via the internal struct type) */
struct _gpio* sg0 = (struct _gpio*)mraa_init_io("GPIO-0");
ASSERT_EQ(0, sg0->pin);
}
/* Set the priority of this process */