aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDavid Sidrane <david_s5@nscdg.com>2015-01-26 11:24:20 -1000
committerDavid Sidrane <david_s5@nscdg.com>2015-03-05 09:24:55 -1000
commit8f9fae8f6eb2907c12c35747c0888820cd541498 (patch)
tree09a2ee4183786e906f7dc89736e337f814195c47 /src
parent177a17324674001093d8d141d7131698e22be7a7 (diff)
downloadpx4-firmware-8f9fae8f6eb2907c12c35747c0888820cd541498.tar.gz
px4-firmware-8f9fae8f6eb2907c12c35747c0888820cd541498.tar.bz2
px4-firmware-8f9fae8f6eb2907c12c35747c0888820cd541498.zip
Bug fix:The CRC detection on px4io was failing with -1 result, do the the fact that the PX4IO_Uploader had closed the port and Nuttx (now) disabled the clock and PX4IO_serial did not managed the clock
Diffstat (limited to 'src')
-rw-r--r--src/drivers/px4io/px4io_serial.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/drivers/px4io/px4io_serial.cpp b/src/drivers/px4io/px4io_serial.cpp
index c6c0126f4..8892690e9 100644
--- a/src/drivers/px4io/px4io_serial.cpp
+++ b/src/drivers/px4io/px4io_serial.cpp
@@ -252,7 +252,11 @@ PX4IO_serial::init()
/* Enable the APB clock for the USART peripheral */
+<<<<<<< HEAD
modifyreg32(STM32_RCC_APB2ENR, 0, RCC_APB2ENR_USART6EN);
+=======
+ modifyreg32(STM32_RCC_APB2ENR, 0, RCC_APB2ENR_USART6EN);
+>>>>>>> Bug fix:The CRC detection on px4io was failing with -1 result, do the the fact that the PX4IO_Uploader had closed the port and Nuttx (now) disabled the clock and PX4IO_serial did not managed the clock
/* configure pins for serial use */
stm32_configgpio(PX4IO_SERIAL_TX_GPIO);