commit | 3a70e9386ea5b57b3e3bdedb392d5b69028f757a | [log] [tgz] |
---|---|---|
author | Matt Spinler <spinler@us.ibm.com> | Tue Aug 07 14:16:47 2018 -0500 |
committer | Matt Spinler <spinler@us.ibm.com> | Tue Aug 14 15:42:00 2018 -0500 |
tree | a4d7a16273a0cead6c2b470ace427c4181a2ca8f | |
parent | 403ddba1f8aed47a4003be3d41507502154b04eb [diff] |
Use cJSON to get the GPIO definitions In gpio_init, read the GPIO definitions out of the JSON instead of D-Bus. As many applications configure several GPIOs at once, the cJSON structure for the GPIOs stays loaded in memory until explicitly freed by calling gpio_inits_done(). Change-Id: I3ba216545a4a367744ce1fac09ca19c4d8d9d302 Signed-off-by: Matt Spinler <spinler@us.ibm.com>