mirror of
https://gitea.osmocom.org/sim-card/simtrace2.git
synced 2026-03-17 21:58:33 +03:00
Merge branch 'new_iso_init' (sniffer not working)
Conflicts: firmware/src_simtrace/phone.c firmware/src_simtrace/simtrace.h
This commit is contained in:
@@ -79,8 +79,8 @@ void _ISO7816_Init( void )
|
||||
/* Configure USART */
|
||||
PMC_EnablePeripheral(ID_USART_PHONE);
|
||||
|
||||
USART1->US_IDR = 0xffffffff;
|
||||
USART_EnableIt( USART1, US_IER_RXRDY) ;
|
||||
USART_PHONE->US_IDR = 0xffffffff;
|
||||
USART_EnableIt( USART_PHONE, US_IER_RXRDY) ;
|
||||
/* enable USART1 interrupt */
|
||||
NVIC_EnableIRQ( USART1_IRQn ) ;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user