tc_etu.c: Fixed PIN initialisation compiler waring

This commit is contained in:
Christina Quast
2015-04-11 12:27:46 +02:00
parent 542f9183bb
commit 2ee3ec73f4
2 changed files with 2 additions and 3 deletions

View File

@@ -135,6 +135,7 @@
//#define PINS_ISO7816 PIN_USART1_TXD, PIN_USART1_SCK, PIN_ISO7816_RSTMC
#define PINS_ISO7816 PIN_SIM_IO, PIN_SIM_CLK, PIN_ISO7816_RSTMC // SIM_PWEN_PIN, PIN_SIM_IO2, PIN_SIM_CLK2
#define PINS_TC PIN_SIM_IO_INPUT, PIN_SIM_CLK_INPUT
#define VCC_PHONE {PIO_PA25, PIOA, ID_PIOA, PIO_INPUT, PIO_DEFAULT}
#define PIN_ISO7816_RST_PHONE {PIO_PA24, PIOA, ID_PIOA, PIO_INPUT, PIO_IT_RISE_EDGE }

View File

@@ -24,8 +24,7 @@
#include <string.h>
//FIXME:
static const Pin pTC[] = {{PIO_PA4B_TCLK0, PIO_PA0B_TIOA0, PIO_PA1B_TIOB0}};
static const Pin pTC[] = PINS_TC;
/** Global timestamp in milliseconds since start of application */
volatile uint32_t dwTimeStamp = 0;
@@ -41,7 +40,6 @@ volatile uint8_t timeout_occured = 0;
void SysTick_Handler( void )
{
dwTimeStamp ++;
}