]> git.sur5r.net Git - freertos/blobdiff - FreeRTOS/Demo/RISC-V_Renode_Emulator_SoftConsole/full_demo/main_full.c
Remove driver files that generate compiler warnings from the RISC-V_Renode_Emulator_S...
[freertos] / FreeRTOS / Demo / RISC-V_Renode_Emulator_SoftConsole / full_demo / main_full.c
index 969b2a14c55f3a451ac725a4b14d2384d155cd55..276b15e62b3b179fcf03600f9448a8a2ec42a120 100644 (file)
@@ -1,5 +1,5 @@
 /*\r
- * FreeRTOS Kernel V10.2.0\r
+ * FreeRTOS Kernel V10.2.1\r
  * Copyright (C) 2019 Amazon.com, Inc. or its affiliates.  All Rights Reserved.\r
  *\r
  * Permission is hereby granted, free of charge, to any person obtaining a copy of\r
@@ -209,6 +209,7 @@ void main_full( void )
        prvSetupPeripheralTimers();\r
 \r
        /* Start the scheduler. */\r
+       vSendString( "Starting" );\r
        vTaskStartScheduler();\r
 \r
        /* If all is well, the scheduler will now be running, and the following\r
@@ -229,16 +230,11 @@ uint32_t ulLastRegTest1Value = 0, ulLastRegTest2Value = 0;
 uint32_t ulLastTimer0Interrupts = 0, ulLastTimer1Interrupts = 0;\r
 char * const pcPassMessage = ".";\r
 char * pcStatusMessage = pcPassMessage;\r
-extern void vSendString( const char * const pcString );\r
 extern void vToggleLED( void );\r
 \r
        /* Just to stop compiler warnings. */\r
        ( void ) pvParameters;\r
 \r
-       /* Start with a pass message, after which a '.' character will be printed\r
-       out on each successful loop. */\r
-       vSendString( "Pass" );\r
-\r
        /* Initialise xLastExecutionTime so the first call to vTaskDelayUntil()\r
        works correctly. */\r
        xLastExecutionTime = xTaskGetTickCount();\r