diff options
author | Dean Camera <dean@fourwalledcubicle.com> | 2010-05-02 06:02:54 +0000 |
---|---|---|
committer | Dean Camera <dean@fourwalledcubicle.com> | 2010-05-02 06:02:54 +0000 |
commit | a5e79333e5769f92558bf20458c165e2582a0cb6 (patch) | |
tree | a5e638447ec31ffd110079c19880def97d3255b3 /Projects/AVRISP-MKII/Lib/Timeout.S | |
parent | 3d28d53c3e2ae529933283e63a8b05f2ab1ce2be (diff) | |
download | lufa-a5e79333e5769f92558bf20458c165e2582a0cb6.tar.gz lufa-a5e79333e5769f92558bf20458c165e2582a0cb6.tar.bz2 lufa-a5e79333e5769f92558bf20458c165e2582a0cb6.zip |
Switch back to C based timeout ISR in the AVRISP project - assembly version was failing, and only one or two cycles could be shaved off the compiler generated code.
Diffstat (limited to 'Projects/AVRISP-MKII/Lib/Timeout.S')
-rw-r--r-- | Projects/AVRISP-MKII/Lib/Timeout.S | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/Projects/AVRISP-MKII/Lib/Timeout.S b/Projects/AVRISP-MKII/Lib/Timeout.S deleted file mode 100644 index ad56d1d21..000000000 --- a/Projects/AVRISP-MKII/Lib/Timeout.S +++ /dev/null @@ -1,23 +0,0 @@ -#include <avr/io.h>
-#include "V2Protocol.h"
-
-.global TIMER0_COMPA_vect
-TIMER0_COMPA_vect:
- sei
- push r24
- in r24, 0x3f
- push r24
-
- in r24, TimeoutMSRemaining
- and r24, r24
- breq Epilogue
- subi r24, 0x01
- out TimeoutMSRemaining, r24
-
-Epilogue:
- pop r24
- out 0x3f, r24
- pop r24
- reti
-
-
\ No newline at end of file |