FreeRTOS type updates. (#261)
This commit is contained in:
parent
4c84b64566
commit
a5cc728079
53 changed files with 151 additions and 148 deletions
|
@ -93,7 +93,7 @@ void timerRegTask(void *pvParameters)
|
|||
printf("frc2 handler called %d times, last value 0x%08x\r\n", frc2_handler_call_count,
|
||||
frc2_last_count_val);
|
||||
|
||||
vTaskDelay(500 / portTICK_RATE_MS);
|
||||
vTaskDelay(500 / portTICK_PERIOD_MS);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -229,7 +229,7 @@ void user_init(void)
|
|||
test_isr();
|
||||
test_sign_extension();
|
||||
|
||||
xTaskHandle taskHandle;
|
||||
TaskHandle_t taskHandle;
|
||||
xTaskCreate(test_system_interaction, "interactionTask", 256, &taskHandle, 2, NULL);
|
||||
}
|
||||
|
||||
|
@ -304,7 +304,7 @@ static void test_system_interaction()
|
|||
*/
|
||||
}
|
||||
uint32_t ticks = xTaskGetTickCount() - start;
|
||||
printf("Timer interaction test PASSED after %dms.\n", ticks*portTICK_RATE_MS);
|
||||
printf("Timer interaction test PASSED after %dms.\n", ticks*portTICK_PERIOD_MS);
|
||||
abort();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue