diff core/PulseIn.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/core/PulseIn.cpp	Fri May 27 18:26:45 2016 +0100
+++ b/core/PulseIn.cpp	Fri May 27 18:29:20 2016 +0100
@@ -13,7 +13,7 @@
 	_pulseOnState = direction == 1 ? 1 : 0;
 	_array.resize(context->digitalFrames);
 	_lastContext = (uint64_t)-1;
-	pinModeFrame(context, 0, digitalInput, INPUT); //context is used to allocate the number of elements in the array
+	pinMode(context, 0, digitalInput, INPUT); //context is used to allocate the number of elements in the array
 }
 
 void PulseIn::check(BelaContext* context){