mirror of https://gerrit.osmocom.org/simtrace2
ccid.c: removed SMARTCARD_CONNECT_PIN check (always defined)
This commit is contained in:
parent
5384061761
commit
ad215aaf66
|
@ -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
|
||||
*-----------------------------------------------------------------------------*/
|
||||
|
|
Loading…
Reference in New Issue