commit | be2e6a08500ef8c157639b89d27c0a858ec43dcb | [log] [tgz] |
---|---|---|
author | Jordan Yates <jordan.yates@data61.csiro.au> | Wed Jun 23 20:54:58 2021 +1000 |
committer | Kumar Gala <kumar.gala@gmail.com> | Thu Jun 24 06:40:00 2021 -0500 |
tree | 64d6400eb1771cf13f6077c828b7424476e3ca28 | |
parent | 7eb48adb524274b6a999cbc3061e6a5b93d29f3e [diff] |
samples: button: use `gpio_dt_spec` helpers Convert pin setting and getting to `struct gpio_dt_spec` variants to demonstrate usage of the new API. Signed-off-by: Jordan Yates <jordan.yates@data61.csiro.au>