Minor edit to firmware copy- still untested

This commit is contained in:
Michael Moon 2010-02-06 20:03:42 +11:00
parent 3fb2977ff0
commit 535dbfc901
1 changed files with 7 additions and 0 deletions

View File

@ -91,4 +91,11 @@ void copy() {
copier_xchange(CMD_WRITE_PROGMEM_PAGE | ((i / (SPM_PAGESIZE / 2)) << 8));
delay_ms(10); //minimum is 4.5ms
}
// reset
WRITE(COPIER_RESET, 0);
delay_ms(10);
SET_INPUT(MOSI);
SET_INPUT(SCK);
SET_INPUT(COPIER_RESET);
}