summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorknolax <1339802534.kk@gmail.com>2017-12-27 21:40:00 -0500
committerknolax <1339802534.kk@gmail.com>2017-12-27 21:40:00 -0500
commita2b68d4f1daacd05a736c6a400a0a4b374fc78f4 (patch)
tree904ac658daa28b6b3087e4ffd99343b714cd8f67
parentfa9ae697b0502084d4adf9de48235a876435561b (diff)
set pin 4 and 15 to have low values to, this might not actually run.
-rw-r--r--skey.c2
1 files changed, 2 insertions, 0 deletions
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;
}
/*