projects
/
romdev
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fixed data bus output buffer enable
[romdev]
/
fw
/
src
/
main.c
diff --git
a/fw/src/main.c
b/fw/src/main.c
index
1d248f2
..
3977d78
100644
(file)
--- a/
fw/src/main.c
+++ b/
fw/src/main.c
@@
-169,7
+169,11
@@
static void start_prog(void)
static void end_prog(void)
{
- /* PGM low and return reset high */
+ /* make extra sure we don't drive the data bus */
+ release_data_bus();
+
+ /* PGM low and return reset and SS high */
+ PORTB |= PB_SS;
PORTC &= ~PC_PGM;
PORTC |= PC_SYSRST;