ccid.c: removed SMARTCARD_CONNECT_PIN check (always defined)

This commit is contained in:
Christina Quast 2015-04-16 15:00:07 +02:00
parent 5384061761
commit ad215aaf66
1 changed files with 0 additions and 15 deletions

View File

@ -65,8 +65,6 @@ static struct Usart_info usart_info = {.base = USART_SIM, .id = ID_USART_SIM, .s
* Optional smartcard detection
*------------------------------------------------------------------------------*/
#ifdef SMARTCARD_CONNECT_PIN
/** Smartcard detection pin.*/
static const Pin pinSmartCard = SMARTCARD_CONNECT_PIN;
@ -117,19 +115,6 @@ static void ConfigureCardDetection( void )
PIO_EnableIt( &pinSmartCard ) ;
}
#else
/**
* Dummy implementation.
*/
static void ConfigureCardDetection( void )
{
printf( "-I- Smartcard detection not supported.\n\r" ) ;
}
#endif
/*-----------------------------------------------------------------------------
* Initialization and run
*-----------------------------------------------------------------------------*/