commit | 8605bdffa8161acc1fce20504baf23a857a1ed91 | [log] [tgz] |
---|---|---|
author | Matt Spinler <spinler@us.ibm.com> | Mon Nov 05 14:55:46 2018 -0600 |
committer | Matt Spinler <spinler@us.ibm.com> | Mon Nov 05 15:38:28 2018 -0600 |
tree | 5aa6a4e0aa37ad14bf8cd0c928e2d08f0762113e | |
parent | 0d9377d225aae01b80a9f2743b72f5143429f0a5 [diff] |
Only create buttons when their GPIOs are defined Look in /etc/default/obmc/gpio/gpio_defs.json to see if the GPIO for a button is defined, and only create the button object if it is. This is how a system implementer can specify which button objects are needed for their particular system. Change-Id: I359f87875b6bb5741fdf4718b30b0f5b4552a528 Signed-off-by: Matt Spinler <spinler@us.ibm.com>