diff core/PRU.cpp @ 301:e4392164b458 prerelease

RENAMED BeagleRT to Bela AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA, scripts probably not working
author Giulio Moro <giuliomoro@yahoo.it>
date Fri, 27 May 2016 14:34:41 +0100
parents c55c6f6c233c
children 421a69d42943
line wrap: on
line diff
--- a/core/PRU.cpp	Fri May 27 13:58:20 2016 +0100
+++ b/core/PRU.cpp	Fri May 27 14:34:41 2016 +0100
@@ -18,7 +18,7 @@
 #include "../include/pruss_intc_mapping.h"
 #include "../include/digital_gpio_mapping.h"
 #include "../include/GPIOcontrol.h"
-#include "../include/BeagleRT.h"
+#include "../include/Bela.h"
 #include "../include/pru_rtaudio_bin.h"
 
 #include <iostream>
@@ -110,7 +110,7 @@
 extern int gRTAudioVerbose;
 
 // Constructor: specify a PRU number (0 or 1)
-PRU::PRU(BeagleRTContext *input_context)
+PRU::PRU(BelaContext *input_context)
 : context(input_context), pru_number(0), running(false), analog_enabled(false),
   digital_enabled(false), gpio_enabled(false), led_enabled(false),
   gpio_test_pin_enabled(false),
@@ -662,7 +662,7 @@
 			xenomai_gpio[GPIO_CLEARDATAOUT] = TEST_PIN_MASK;
 		}
 		
-		BeagleRT_autoScheduleAuxiliaryTasks();
+		Bela_autoScheduleAuxiliaryTasks();
 
 		// FIXME: TESTING!!
 		// if(testCount > 100000)