commit | c47182f6b46e8df4d8d68688b9d5b0adb7a37403 | [log] [tgz] |
---|---|---|
author | Brian Silverman <brians> | Sun Feb 16 21:43:36 2014 -0800 |
committer | Brian Silverman <brians> | Sun Feb 16 21:43:36 2014 -0800 |
tree | 45c6e0842314e0c06fd08ab4e9545829d9cd36f4 | |
parent | e4063d2294db805e373ad3cfb2bfae3e8d4df589 [diff] [blame] |
not quite sure what I was thinking when I wrote it the first time...
diff --git a/bbb_cape/src/cape/robot_comp.c b/bbb_cape/src/cape/robot_comp.c index bf417e9..455a1c0 100644 --- a/bbb_cape/src/cape/robot_comp.c +++ b/bbb_cape/src/cape/robot_comp.c
@@ -17,7 +17,8 @@ } void robot_init(void) { - gpio_setup_alt(GPIOB, 11, 3); + // Digital input 6. + gpio_setup_alt(GPIOB, 9, 3); RCC->APB2ENR |= RCC_APB2ENR_TIM11EN; TIM11->CR1 = TIM_CR1_URS; TIM11->SMCR = 5 << 4 /* TI1 */ |