aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Embedded_SW/Embedded/Common
diff options
context:
space:
mode:
authorAvi Levkovich <avi@twine-s.com>2020-10-19 14:02:45 +0300
committerAvi Levkovich <avi@twine-s.com>2020-10-19 14:02:45 +0300
commit1cdac5261f96f1d5e01d18cbd833744d67d42db7 (patch)
tree869bc7c2acb57773230cc29393b2c4d4e304c451 /Software/Embedded_SW/Embedded/Common
parent0249d98cb3d6c59714881eda9d3724b8b16e65fa (diff)
downloadTango-1cdac5261f96f1d5e01d18cbd833744d67d42db7.tar.gz
Tango-1cdac5261f96f1d5e01d18cbd833744d67d42db7.zip
exclude unused code + add define for EVB code
Diffstat (limited to 'Software/Embedded_SW/Embedded/Common')
-rw-r--r--Software/Embedded_SW/Embedded/Common/Sys_PinOut_Config/Pin_config.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/Software/Embedded_SW/Embedded/Common/Sys_PinOut_Config/Pin_config.c b/Software/Embedded_SW/Embedded/Common/Sys_PinOut_Config/Pin_config.c
index abf773090..10fbdfafa 100644
--- a/Software/Embedded_SW/Embedded/Common/Sys_PinOut_Config/Pin_config.c
+++ b/Software/Embedded_SW/Embedded/Common/Sys_PinOut_Config/Pin_config.c
@@ -4,6 +4,8 @@
#include <driverlib/gpio.h>
#include <inc/hw_memmap.h>
+#ifdef EVALUATION_BOARD
+
void InitPinOutPullUps(void)
{
GPIOPadConfigSet(GPIO_PORTD_BASE, GPIO_INT_PIN_0,GPIO_STRENGTH_2MA,GPIO_PIN_TYPE_STD_WPU);
@@ -47,6 +49,7 @@ void InitPinOutPullUps(void)
GPIOPadConfigSet(GPIO_PORTT_BASE, GPIO_INT_PIN_2,GPIO_STRENGTH_2MA,GPIO_PIN_TYPE_STD_WPU);
}
+#endif