From 5854ccbb4c0d8493734a61f6827b57480c92ffa9 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Thu, 3 May 2018 15:49:23 +1000 Subject: [PATCH] HAL_ChibiOS: removed stray debug code thanks to @alielectric for noticing --- libraries/AP_HAL_ChibiOS/UARTDriver.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/libraries/AP_HAL_ChibiOS/UARTDriver.cpp b/libraries/AP_HAL_ChibiOS/UARTDriver.cpp index 44475cd989..b694f303cc 100644 --- a/libraries/AP_HAL_ChibiOS/UARTDriver.cpp +++ b/libraries/AP_HAL_ChibiOS/UARTDriver.cpp @@ -118,8 +118,6 @@ void UARTDriver::begin(uint32_t b, uint16_t rxS, uint16_t txS) { thread_init(); - hal.gpio->pinMode(2, HAL_GPIO_OUTPUT); - hal.gpio->pinMode(3, HAL_GPIO_OUTPUT); if (sdef.serial == nullptr) { return; }