mirror of
https://gitea.osmocom.org/sim-card/simtrace2.git
synced 2026-03-17 05:38:33 +03:00
ccid.c: removed SMARTCARD_CONNECT_PIN check (always defined)
This commit is contained in:
@@ -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
|
||||
*-----------------------------------------------------------------------------*/
|
||||
|
||||
Reference in New Issue
Block a user