diff examples/gpioAnalogLoopbackTest/render.cpp @ 310:02c4ca0e3718 prerelease

Renamed pinModeFrame -> pinMode
author andrewm
date Fri, 27 May 2016 18:29:20 +0100
parents 1feb9c23ac57
children 493a07f6ec09
line wrap: on
line diff
--- a/examples/gpioAnalogLoopbackTest/render.cpp	Fri May 27 18:26:45 2016 +0100
+++ b/examples/gpioAnalogLoopbackTest/render.cpp	Fri May 27 18:29:20 2016 +0100
@@ -34,9 +34,9 @@
 			context->analogChannels, context->audioFrames);
 
 	for(unsigned int n = 0; n < context->digitalFrames; n++){
-		pinModeFrame(context, n, gDigitalInACh, INPUT);
-		pinModeFrame(context, n, gDigitalInDCh, INPUT);
-		pinModeFrame(context, n, gDigitalOutCh, OUTPUT);
+		pinMode(context, n, gDigitalInACh, INPUT);
+		pinMode(context, n, gDigitalInDCh, INPUT);
+		pinMode(context, n, gDigitalOutCh, OUTPUT);
 	}
 	switch (context->analogChannels){
 		case 2: