From a2b68d4f1daacd05a736c6a400a0a4b374fc78f4 Mon Sep 17 00:00:00 2001 From: knolax <1339802534.kk@gmail.com> Date: Wed, 27 Dec 2017 21:40:00 -0500 Subject: set pin 4 and 15 to have low values to, this might not actually run. --- skey.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/skey.c b/skey.c index 0ffe0cd..c092938 100644 --- a/skey.c +++ b/skey.c @@ -195,6 +195,8 @@ static int __init skey_init (void) { //explicitly sets pin 4 and 15 to be inputs. gpio_direction_input(4); gpio_direction_input(15); + gpio_set_value_cansleep(4, 0); + gpio_set_value_cansleep(15, 0); return 0; } /* -- cgit v1.1