summaryrefslogtreecommitdiff
path: root/skey.c
diff options
context:
space:
mode:
Diffstat (limited to 'skey.c')
-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;
}
/*