Subversion Repositories Code-Repo

Rev

Rev 264 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 264 Rev 266
Line 192... Line 192...
192
    CONTROLLER_DATA ctrl_data;
192
    CONTROLLER_DATA ctrl_data;
193
    Controller_Init(&ctrl_data, NULL);
193
    Controller_Init(&ctrl_data, NULL);
194
 
194
 
195
    // Initialize the Ethernet module
195
    // Initialize the Ethernet module
196
    if (op_state == BOARD_MODE_ETHERNET) {
196
    if (op_state == BOARD_MODE_ETHERNET) {
-
 
197
        LED1_LAT = 1;
197
        ETH_DATA eth_data;
198
        ETH_DATA eth_data;
198
        ETH_Init(&eth_data, NULL, &Cube_Ethernet_Frame_In);
199
        ETH_Init(&eth_data, NULL, &Cube_Ethernet_Frame_In);
199
    }
200
    }
200
    
201
    
201
    SNAKE_DATA snake_data;
202
    SNAKE_DATA snake_data;
Line 226... Line 227...
226
            Tron_Init(&tron_data);
227
            Tron_Init(&tron_data);
227
            Tron_Main();
228
            Tron_Main();
228
            break;
229
            break;
229
        case BOARD_MODE_ETHERNET:
230
        case BOARD_MODE_ETHERNET:
230
            TIMER4_Stop();
231
            TIMER4_Stop();
-
 
232
            LED2_LAT = 1;
231
            while(1);
233
            while(1);
232
            break;
234
            break;
233
    }
235
    }
234
 
236
 
235
}
237
}