     gyroTargetAngle = 360 - gyroTargetAngle;
   }
   if(gyroTargetAngle < 0){
-    gyroTargetAngle = 360 + gyroTargetAngle
+    gyroTargetAngle = 360 + gyroTargetAngle;
   }
   if(gyroTargetAngle < getGyroAngle()){
     leftServo.write(180);

  attachInterrupt(digitalPinToInterrupt(IR_PIN_RIGHT), extinguishFire, RISING);

  pinMode(FLAME_LED, OUTPUT);
  pinMode(MIC_LED, OUTPUT);
  pinMode(BABY_LED, OUTPUT);
  pinMode(CAMERA_LED, OUTPUT);
  pinMode(GYRO, INPUT);
  FreqCount.begin(1000); // Begin measuring sound
}

void loop() {
  rollForward();
}

void extinguishFire() {
  rollBackward();
}

#define BABY_LED 17
#define CAMERA 15
#define CAMERA_LED 16

//Ultrasonic Trigger and Echo pins (30-39)
#define F_L_ECHO  30  //Front-left Ultrasonic
