aboutsummaryrefslogtreecommitdiffstats
path: root/testhal/TIVA/TM4C123x/GPT
diff options
context:
space:
mode:
authormarcoveeneman <marco-veeneman@hotmail.com>2015-03-04 20:32:05 +0100
committermarcoveeneman <marco-veeneman@hotmail.com>2015-03-04 20:32:05 +0100
commit42add52912afc3f835fa66af279eda91b3d4bbc4 (patch)
tree4b068a60fa0c86763438ace7ec7c8475abfa1a86 /testhal/TIVA/TM4C123x/GPT
parent81b87913b45ae92a49ef115cae88d690de672f28 (diff)
downloadChibiOS-Contrib-42add52912afc3f835fa66af279eda91b3d4bbc4.tar.gz
ChibiOS-Contrib-42add52912afc3f835fa66af279eda91b3d4bbc4.tar.bz2
ChibiOS-Contrib-42add52912afc3f835fa66af279eda91b3d4bbc4.zip
Updated Tiva Testhal demos for GPT and PWM.
Diffstat (limited to 'testhal/TIVA/TM4C123x/GPT')
-rw-r--r--testhal/TIVA/TM4C123x/GPT/main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/testhal/TIVA/TM4C123x/GPT/main.c b/testhal/TIVA/TM4C123x/GPT/main.c
index 416c1ae..c365186 100644
--- a/testhal/TIVA/TM4C123x/GPT/main.c
+++ b/testhal/TIVA/TM4C123x/GPT/main.c
@@ -71,6 +71,8 @@ int main(void)
halInit();
chSysInit();
+ palSetPadMode(GPIOF, GPIOF_LED_RED, PAL_MODE_OUTPUT_PUSHPULL);
+
/*
* Start the gpt drivers with the custom configurations.
*/