diff options
author | knolax <1339802534.kk@gmail.com> | 2017-12-27 21:40:00 -0500 |
---|---|---|
committer | knolax <1339802534.kk@gmail.com> | 2017-12-27 21:40:00 -0500 |
commit | a2b68d4f1daacd05a736c6a400a0a4b374fc78f4 (patch) | |
tree | 904ac658daa28b6b3087e4ffd99343b714cd8f67 /skey.c | |
parent | fa9ae697b0502084d4adf9de48235a876435561b (diff) |
set pin 4 and 15 to have low values to, this might not actually run.
Diffstat (limited to 'skey.c')
-rw-r--r-- | skey.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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; } /* |