diff options
author | Joey Castillo <jose.castillo@gmail.com> | 2021-08-03 18:00:07 -0400 |
---|---|---|
committer | Joey Castillo <jose.castillo@gmail.com> | 2021-08-03 18:09:58 -0400 |
commit | fc31739eb6fdf230a26930e8d42de7a26558aeae (patch) | |
tree | dcd629420799cba11304d0d4184f15c5f12f3e6e /watch-library/hw/driver_init.c | |
parent | 8a06636833e007675c150532035588bc1bf7749a (diff) | |
download | Sensor-Watch-fc31739eb6fdf230a26930e8d42de7a26558aeae.tar.gz Sensor-Watch-fc31739eb6fdf230a26930e8d42de7a26558aeae.tar.bz2 Sensor-Watch-fc31739eb6fdf230a26930e8d42de7a26558aeae.zip |
WIP deep sleep mode
Diffstat (limited to 'watch-library/hw/driver_init.c')
-rw-r--r-- | watch-library/hw/driver_init.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/watch-library/hw/driver_init.c b/watch-library/hw/driver_init.c index 4f1f8eee..02907feb 100644 --- a/watch-library/hw/driver_init.c +++ b/watch-library/hw/driver_init.c @@ -50,7 +50,7 @@ void EXTERNAL_IRQ_0_init(void) { // <GPIO_PULL_DOWN"> Pull-down GPIO_PULL_DOWN); - gpio_set_pin_function(BTN_ALARM, PINMUX_PB05A_EIC_EXTINT5); + gpio_set_pin_function(BTN_ALARM, PINMUX_PA02A_EIC_EXTINT2); // Set pin direction to input gpio_set_pin_direction(BTN_LIGHT, GPIO_DIRECTION_IN); |