diff options
Diffstat (limited to 'testhal/STM32/STM32F1xx/onewire/main.c')
-rw-r--r-- | testhal/STM32/STM32F1xx/onewire/main.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/testhal/STM32/STM32F1xx/onewire/main.c b/testhal/STM32/STM32F1xx/onewire/main.c index 5f9722d..793bffe 100644 --- a/testhal/STM32/STM32F1xx/onewire/main.c +++ b/testhal/STM32/STM32F1xx/onewire/main.c @@ -35,12 +35,6 @@ int main(void) { chSysInit();
/*
- * Connect PB8 to TIM4 channel 2, set open drain mode
- * and enable internal pullup for slave absence detection.
- */
- palSetPadMode(GPIOB, 8, PAL_MODE_STM32_ALTERNATE_OPENDRAIN);
-
- /*
* Executes infinite onewire test code.
*/
onewireTest();
|