Commit 06e2e18c authored by Matthias Wenzl's avatar Matthias Wenzl
Browse files

minor adaptions - comments/parameter/variable cleanup

parent ce0b80f8
/*
* ======== Blink_Task.c ========
* Author: Michael Kramer / Matthias Wenzl
*/
#include <stdbool.h>
#include <inc/hw_memmap.h>
......@@ -57,7 +58,6 @@ int setup_Blink_Task(led_descriptor_t *led_desc, uint32_t wait_ticks)
{
Task_Params taskLedParams;
Task_Handle taskLed;
uint32_t ui32Strength, ui32PinType;
Error_Block eb;
/*configure gpio port_base according to led*/
......
/*
* CCSv6 project using TI-RTOS and a custom network driver
* providing an ndk-less base environment
* CCSv6 project using TI-RTOS
*
*/
......@@ -26,8 +25,6 @@
/* TI-RTOS Header files */
#include <ti/drivers/UART.h>
/* Drivers Header files*/
//#include <ti/drivers/GPIO.h>
/*Board Header files */
#include <Board.h>
......@@ -51,13 +48,6 @@ int main(void)
/* Call board init functions. */
ui32SysClock = Board_initGeneral(120*1000*1000);
//
// Initialize the UART for console I/O.
//
// UARTStdioConfig(0, 115200, ui32SysClock);
led_desc[0].port_base = GPIO_PORTN_BASE;
led_desc[0].led = GPIO_PIN_1;
/*Initialize+start Blink Task*/
......@@ -71,7 +61,7 @@ int main(void)
System_printf("Created Blink Task2\n");
/*Initialize+start UART Task*/
(void) setup_UART_Task(0,0);
(void) setup_UART_Task();
System_printf("Created UART Task\n");
/* SysMin will only print to the console upon calling flush or exit */
......
......@@ -78,11 +78,10 @@ void UARTFxn(UArg arg0, UArg arg1)
/*
* setup task function
*/
int setup_UART_Task(led_descriptor_t *led_desc, uint32_t wait_ticks)
int setup_UART_Task(void)
{
Task_Params taskUARTParams;
Task_Handle taskUART;
uint32_t ui32Strength, ui32PinType;
Error_Block eb;
......
......@@ -40,7 +40,7 @@ void UARTFxn(UArg arg0, UArg arg1);
*
* \return always zero. In case of error the system halts.
*/
int setup_UART_Task();
int setup_UART_Task(void);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment