aboutsummaryrefslogtreecommitdiffstats
path: root/testhal/STM32/STM32F4xx/onewire/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'testhal/STM32/STM32F4xx/onewire/main.c')
-rw-r--r--testhal/STM32/STM32F4xx/onewire/main.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/testhal/STM32/STM32F4xx/onewire/main.c b/testhal/STM32/STM32F4xx/onewire/main.c
index 5fdbfd9..793bffe 100644
--- a/testhal/STM32/STM32F4xx/onewire/main.c
+++ b/testhal/STM32/STM32F4xx/onewire/main.c
@@ -35,13 +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, GPIOB_PIN8,
- PAL_MODE_ALTERNATE(2) | PAL_STM32_OTYPE_OPENDRAIN | PAL_STM32_PUDR_PULLUP);
-
- /*
* Executes infinite onewire test code.
*/
onewireTest();