diff core/WriteFile.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 1e7db6610600
children a4e49a3d9948
line wrap: on
line diff
--- a/core/WriteFile.cpp	Fri May 27 13:58:20 2016 +0100
+++ b/core/WriteFile.cpp	Fri May 27 14:34:41 2016 +0100
@@ -20,7 +20,7 @@
 	staticConstructed=true;
 	threadIsExiting=false;
 	threadRunning=false;
-	writeAllFilesTask = BeagleRT_createAuxiliaryTask(WriteFile::run, 60, "writeAllFilesTask");
+	writeAllFilesTask = Bela_createAuxiliaryTask(WriteFile::run, 60, "writeAllFilesTask");
 }
 
 WriteFile::WriteFile(){
@@ -45,7 +45,7 @@
 	stringBuffer = (char*)malloc(sizeof(char) * (stringBufferLength));
 	setHeader("variable=[\n");
 	setFooter("];\n");
-	staticConstructor(); //TODO: this line should be in the constructor, but cannot be because of a bug in BeagleRT
+	staticConstructor(); //TODO: this line should be in the constructor, but cannot be because of a bug in Bela
 	objAddrs.push_back(this);
 	echoedLines = 0;
 	echoPeriod = 1;
@@ -170,7 +170,7 @@
 }
 
 void WriteFile::startThread(){
-	BeagleRT_scheduleAuxiliaryTask(writeAllFilesTask);
+	Bela_scheduleAuxiliaryTask(writeAllFilesTask);
 }
 
 void WriteFile::stopThread(){