bullshit commit, sync for travel (to zn00H!) :)
[my-code/arm.git] / betty / fwbc.c
index a617d24..1874819 100644 (file)
@@ -57,8 +57,8 @@ int main(void) {
 
        /* variables */
 
-       u16 *mem;
-       u32 *bl;
+       u16 *mem=0;
+       u32 *bl=0;
        u32 i,len;
        u8 start;
 
@@ -82,6 +82,8 @@ int main(void) {
        BCFG0=0x1000FBEF;               // no boot[1:0] influence? (thnx colibri)
                                        // BCFG2 should be fine as is
 
+       while(1) {
+
        /* wait for fwdump to send transmit start character */
        start=0x23;
        while(1) {
@@ -136,6 +138,8 @@ int main(void) {
                }
        }
 
+       }
+
        return 0;
 }