diff options
author | Harald Welte <laforge@gnumonks.org> | 2011-07-30 19:30:03 +0200 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2011-07-30 19:30:03 +0200 |
commit | ef6648e27ae39d1c339d5758d02e551f0e19ea39 (patch) | |
tree | e8b4987b443b382f0acf55e2b916c7656fb368a3 /usb-device-ccid-project | |
parent | adaa3fd67c225d5303b53044d8acc609b3100a12 (diff) |
Makefile: simtrace uses SAM7S128, not 256
also disable low power mode for now
Diffstat (limited to 'usb-device-ccid-project')
-rw-r--r-- | usb-device-ccid-project/Makefile | 2 | ||||
-rw-r--r-- | usb-device-ccid-project/main.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/usb-device-ccid-project/Makefile b/usb-device-ccid-project/Makefile index 5726b59..337ecd9 100644 --- a/usb-device-ccid-project/Makefile +++ b/usb-device-ccid-project/Makefile @@ -34,7 +34,7 @@ # Chip & board used for compilation
# (can be overriden by adding CHIP=chip and BOARD=board to the command-line)
-CHIP = at91sam7s256
+CHIP = at91sam7s128
BOARD = simtrace
# Trace level used for compilation
diff --git a/usb-device-ccid-project/main.c b/usb-device-ccid-project/main.c index 7badfeb..f4d8fdc 100644 --- a/usb-device-ccid-project/main.c +++ b/usb-device-ccid-project/main.c @@ -545,13 +545,13 @@ int main( void ) if( USBState == STATE_SUSPEND ) {
TRACE_DEBUG("suspend !\n\r");
- LowPowerMode();
+ //LowPowerMode();
USBState = STATE_IDLE;
}
if( USBState == STATE_RESUME ) {
// Return in normal MODE
TRACE_DEBUG("resume !\n\r");
- NormalPowerMode();
+ //NormalPowerMode();
USBState = STATE_IDLE;
}
CCID_SmartCardRequest();
|