From dfeb18783a4ca0858f8052383ced275e73a91ecb Mon Sep 17 00:00:00 2001 From: dean Date: Mon, 21 May 2018 15:05:07 -0400 Subject: [PATCH] DM: increase DRVSTR on everything --- bsp/bsp_gpio.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bsp/bsp_gpio.cpp b/bsp/bsp_gpio.cpp index f575834b..a24822ff 100644 --- a/bsp/bsp_gpio.cpp +++ b/bsp/bsp_gpio.cpp @@ -19,7 +19,7 @@ void pinPeripheral(uint8_t pin, uint32_t ulPeripheral){ // Set new muxing PORT->Group[port].PMUX[(uint32_t)pin >> 1].reg = temp|PORT_PMUX_PMUXO( ulPeripheral ) ; // Enable port mux - PORT->Group[port].PINCFG[pin].reg |= PORT_PINCFG_PMUXEN ; + PORT->Group[port].PINCFG[pin].reg |= PORT_PINCFG_PMUXEN | PORT_PINCFG_DRVSTR ; } else // even pin { @@ -27,7 +27,7 @@ void pinPeripheral(uint8_t pin, uint32_t ulPeripheral){ temp = (PORT->Group[port].PMUX[(uint32_t)pin >> 1].reg) & PORT_PMUX_PMUXO( 0xF ) ; PORT->Group[port].PMUX[(uint32_t)pin >> 1].reg = temp|PORT_PMUX_PMUXE( ulPeripheral ) ; - PORT->Group[port].PINCFG[(uint32_t)pin].reg |= PORT_PINCFG_PMUXEN ; // Enable port mux + PORT->Group[port].PINCFG[(uint32_t)pin].reg |= PORT_PINCFG_PMUXEN | PORT_PINCFG_DRVSTR ; // Enable port mux } }