projects
/
goodfet
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
More glitching improvements.
[goodfet]
/
firmware
/
apps
/
avr
/
avr.c
diff --git
a/firmware/apps/avr/avr.c
b/firmware/apps/avr/avr.c
index
577d878
..
1cb67e9
100644
(file)
--- a/
firmware/apps/avr/avr.c
+++ b/
firmware/apps/avr/avr.c
@@
-29,17
+29,17
@@
void avrconnect(){
SETSS;
CLRCLK;
SETSS;
CLRCLK;
-
delay(10
);
+
//delay(5
);
CLRSS;
CLRSS;
-
delay(10
);
+
//delay(5
);
//Enable programming
avr_prgen();
}
//! Read and write an SPI byte with delays.
//Enable programming
avr_prgen();
}
//! Read and write an SPI byte with delays.
-u
nsigned char avrtrans8(unsigned char
byte){
- register u
nsigned int
bit;
+u
8 avrtrans8(u8
byte){
+ register u
16
bit;
//This function came from the SPI Wikipedia article.
//Minor alterations.
//This function came from the SPI Wikipedia article.
//Minor alterations.