190,7 → 190,7 |
|
// Initialize controllers |
CONTROLLER_DATA ctrl_data; |
Controller_Init(&ctrl_data, NULL); |
Controller_Init(&ctrl_data); |
|
// Initialize the Ethernet module |
if (op_state == BOARD_MODE_ETHERNET) { |
214,7 → 214,7 |
Idle_Animation_Sequence(); |
break; |
case BOARD_MODE_SNAKE:; |
Controller_Init(&ctrl_data, &Snake_Update_Direction); |
Controller_Init(&ctrl_data); |
TIMER4_Init(NULL, &Controller_Update, NULL, 0); |
TIMER4_Start(); |
Snake_Init(&snake_data); |
221,7 → 221,7 |
Snake_Main(); |
break; |
case BOARD_MODE_TRON: |
Controller_Init(&ctrl_data, &Tron_Update_Direction); |
Controller_Init(&ctrl_data); |
TIMER4_Init(NULL, &Controller_Update, NULL, 0); |
TIMER4_Start(); |
Tron_Init(&tron_data); |
293,6 → 293,8 |
Animation_Cube_In_Cube(300); |
Animation_Double_Rotation(30); |
Animation_Double_Rotation(30); |
Animation_Double_Rotation(30); |
Animation_Double_Rotation(30); |
Animation_Pseudo_Random_Colors(300); |
Animation_Pseudo_Random_Colors(300); |
Animation_Pseudo_Random_Colors(300); |