summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2009-03-24 19:55:04 -0700
committerKeith Packard <keithp@keithp.com>2009-03-24 19:55:04 -0700
commit91b3a6ae74184692f45702587c4d678b2799ad8c (patch)
treea046a4ea17245d9733b65eb44742fd6ecd71c655
parent7de3a43887485c3c6cf52960376ccde33fb33985 (diff)
actually write and compare SPI test bits
-rw-r--r--target/ee/ee.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/target/ee/ee.c b/target/ee/ee.c
index 68b6e4cc..d269d2aa 100644
--- a/target/ee/ee.c
+++ b/target/ee/ee.c
@@ -389,10 +389,10 @@ main ()
*/
status &= ~(1 << 7);
wrsr(status);
-// write(0x0, STRING, LENGTH);
+ write(0x0, STRING, LENGTH);
for (;;) {
read(0x0, buf, LENGTH);
for (i = 0; i < LENGTH; i++)
- debug_byte(STRING[i]);
+ debug_byte(buf[i]);
}
}