actually write and compare SPI test bits
authorKeith Packard <keithp@keithp.com>
Wed, 25 Mar 2009 02:55:04 +0000 (19:55 -0700)
committerKeith Packard <keithp@keithp.com>
Wed, 25 Mar 2009 02:55:04 +0000 (19:55 -0700)
target/ee/ee.c

index 68b6e4cc2f65a107ca8efe822775f11ce310b4a0..d269d2aa54028f132ac0ce2a7904553665ca3d85 100644 (file)
@@ -389,10 +389,10 @@ main ()
         */
        status &= ~(1 << 7);
        wrsr(status);
         */
        status &= ~(1 << 7);
        wrsr(status);
-//     write(0x0, STRING, LENGTH);
+       write(0x0, STRING, LENGTH);
        for (;;) {
                read(0x0, buf, LENGTH);
                for (i = 0; i < LENGTH; i++)
        for (;;) {
                read(0x0, buf, LENGTH);
                for (i = 0; i < LENGTH; i++)
-                       debug_byte(STRING[i]);
+                       debug_byte(buf[i]);
        }
 }
        }
 }