]> git.sur5r.net Git - freertos/blobdiff - FreeRTOS/Demo/RL78_E2Studio_GCC/src/main.c
Update the demo directory to use the version 8 type naming conventions.
[freertos] / FreeRTOS / Demo / RL78_E2Studio_GCC / src / main.c
index cd3d5c350b9f6ff54063bf89487effee44b1f422..d83ac826ec08dcf7c3f81f43c265c7fd2b963856 100644 (file)
 \r
 /* Set mainCREATE_SIMPLE_BLINKY_DEMO_ONLY to one to run the simple blinky demo,\r
 or 0 to run the more comprehensive test and demo application. */\r
-#define mainCREATE_SIMPLE_BLINKY_DEMO_ONLY     1\r
+#define mainCREATE_SIMPLE_BLINKY_DEMO_ONLY     0\r
 \r
 /*-----------------------------------------------------------*/\r
 \r
@@ -118,12 +118,12 @@ extern void main_full( void );
 within this file. */\r
 void vApplicationMallocFailedHook( void );\r
 void vApplicationIdleHook( void );\r
-void vApplicationStackOverflowHook( xTaskHandle pxTask, char *pcTaskName );\r
+void vApplicationStackOverflowHook( TaskHandle_t pxTask, char *pcTaskName );\r
 void vApplicationTickHook( void );\r
 \r
 /* This variable is not actually used, but provided to allow an example of how\r
 to write an ISR to be included in this file. */\r
-static xSemaphoreHandle xSemaphore = NULL;\r
+static SemaphoreHandle_t xSemaphore = NULL;\r
 /*-----------------------------------------------------------*/\r
 \r
 int main( void )\r
@@ -190,7 +190,7 @@ void vApplicationMallocFailedHook( void )
 }\r
 /*-----------------------------------------------------------*/\r
 \r
-void vApplicationStackOverflowHook( xTaskHandle pxTask, char *pcTaskName )\r
+void vApplicationStackOverflowHook( TaskHandle_t pxTask, char *pcTaskName )\r
 {\r
        ( void ) pcTaskName;\r
        ( void ) pxTask;\r