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:
committed by
Noel Eck
parent
4b2279704b
commit
ae391fe9fe
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user