Robert Marshall %!s(int64=5) %!d(string=hai) anos
pai
achega
07f6e1c1f0
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      Transmitter/src/PIR.cpp

+ 1 - 1
Transmitter/src/PIR.cpp

@@ -21,7 +21,7 @@ public:
 		bool motionDetected = digitalRead(_pin) == HIGH;
 
 		if (motionDetected) {
-			_motionDetectedTime = mllis();
+			_motionDetectedTime = millis();
 			if (!_currentMotionState)
 				_startCallback();
 			_currentMotionState = motionDetected;