From 8e5381ca10fd6f55b72bef7397fbf02b5401dc57 Mon Sep 17 00:00:00 2001 From: Christina Quast Date: Fri, 3 Apr 2015 11:37:17 +0200 Subject: [PATCH] phone RST define taken from simtrace.h --- sam3s_example/simtrace/phone.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/sam3s_example/simtrace/phone.c b/sam3s_example/simtrace/phone.c index 39e3fd34..c4ce6d8d 100644 --- a/sam3s_example/simtrace/phone.c +++ b/sam3s_example/simtrace/phone.c @@ -99,10 +99,9 @@ static const Pin pPwr[] = { }; -#define ISO7816_PHONE_RST {PIO_PA24, PIOA, ID_PIOA, PIO_INPUT, PIO_PULLUP | PIO_DEBOUNCE | PIO_DEGLITCH | PIO_IT_EDGE } -static const Pin pinPhoneRST = ISO7816_PHONE_RST; -//#define ISO7816_PHONE_CLK {PIO_PA23A_SCK1, PIOA, ID_PIOA, PIO_INPUT, PIO_PULLUP | PIO_DEBOUNCE | PIO_DEGLITCH | PIO_IT_EDGE } -//static const Pin pinPhoneClk = ISO7816_PHONE_CLK; +static const Pin pinPhoneRST = PIN_ISO7816_RST_PHONE; + +#define PR TRACE_INFO /* ===================================================*/ /* Taken from iso7816_4.c */