Robert Marshall 5 years ago
parent
commit
07f6e1c1f0
1 changed files with 1 additions and 1 deletions
  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;