actually write and compare SPI test bits
[fw/altos] / target / ee / ee.c
index 68b6e4cc2f65a107ca8efe822775f11ce310b4a0..d269d2aa54028f132ac0ce2a7904553665ca3d85 100644 (file)
@@ -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]);
        }
 }