diff core/PRU.cpp @ 258:88cf310417cd aux_task_args

Add a parameter 'autoSchedule' to createAuxiliaryTask() which when true causes the task to be automatically scheduled after every render function call, without the user needing to call scheduleAuxiliaryTask()
author Liam Donovan <l.b.donovan@qmul.ac.uk>
date Sat, 07 May 2016 13:23:15 +0100
parents c0bf6157f67e
children abd3657016ea
line wrap: on
line diff
--- a/core/PRU.cpp	Sat May 07 12:51:10 2016 +0100
+++ b/core/PRU.cpp	Sat May 07 13:23:15 2016 +0100
@@ -643,6 +643,8 @@
 			// Set the test pin high
 			xenomai_gpio[GPIO_CLEARDATAOUT] = TEST_PIN_MASK;
 		}
+		
+		BeagleRT_autoScheduleAuxiliaryTasks();
 
 		// FIXME: TESTING!!
 		// if(testCount > 100000)