]> git.sur5r.net Git - freertos/blobdiff - FreeRTOS/Source/portable/MPLAB/PIC24_dsPIC/portasm_PIC24.S
Modify the GCC/AVR port to make use of the xTaskIncrementTick return value.
[freertos] / FreeRTOS / Source / portable / MPLAB / PIC24_dsPIC / portasm_PIC24.S
index 60144128d19b8a9ced6940a7856333fae266fa2f..738c7d2ab54cbb68f77bb4849c05cfaf604eeb1b 100644 (file)
@@ -72,6 +72,8 @@
     mission critical applications that require provable dependability.\r
 */\r
 \r
+#if defined( __PIC24E__ ) || defined ( __PIC24F__ ) || defined( __PIC24FK__ ) || defined( __PIC24H__ )\r
+\r
         .global _vPortYield\r
                .extern _vTaskSwitchContext\r
                .extern uxCriticalNesting\r
@@ -133,3 +135,5 @@ _vPortYield:
         return\r
 \r
         .end\r
+               \r
+#endif /* defined( __PIC24E__ ) || defined ( __PIC24F__ ) || defined( __PIC24FK__ ) || defined( __PIC24H__ ) */
\ No newline at end of file