mirror of
https://gitea.osmocom.org/sim-card/simtrace2.git
synced 2026-03-22 16:28:32 +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
|
* Optional smartcard detection
|
||||||
*------------------------------------------------------------------------------*/
|
*------------------------------------------------------------------------------*/
|
||||||
|
|
||||||
#ifdef SMARTCARD_CONNECT_PIN
|
|
||||||
|
|
||||||
/** Smartcard detection pin.*/
|
/** Smartcard detection pin.*/
|
||||||
static const Pin pinSmartCard = SMARTCARD_CONNECT_PIN;
|
static const Pin pinSmartCard = SMARTCARD_CONNECT_PIN;
|
||||||
|
|
||||||
@@ -117,19 +115,6 @@ static void ConfigureCardDetection( void )
|
|||||||
PIO_EnableIt( &pinSmartCard ) ;
|
PIO_EnableIt( &pinSmartCard ) ;
|
||||||
}
|
}
|
||||||
|
|
||||||
#else
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Dummy implementation.
|
|
||||||
*/
|
|
||||||
static void ConfigureCardDetection( void )
|
|
||||||
{
|
|
||||||
printf( "-I- Smartcard detection not supported.\n\r" ) ;
|
|
||||||
}
|
|
||||||
|
|
||||||
#endif
|
|
||||||
|
|
||||||
|
|
||||||
/*-----------------------------------------------------------------------------
|
/*-----------------------------------------------------------------------------
|
||||||
* Initialization and run
|
* Initialization and run
|
||||||
*-----------------------------------------------------------------------------*/
|
*-----------------------------------------------------------------------------*/
|
||||||
|
|||||||
Reference in New Issue
Block a user