Robert Marshall 5 tahun lalu
induk
melakukan
07f6e1c1f0
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  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;