Cant Use My Motor In a IF statement

Hi guys,
I have been working on a project involving two brushless Motors controlled but two ESCs. I have been working with them for a couple of months with little to no trouble (with the help of this forum) but for some reason, I'm having trouble with just getting this basic code to work. The int Target is a constant 0 but the else statement is the only scenario that runs even though it should be impossible to do so.

#define SERVO1     5
#define SERVO2     6//Right wheel
#include <Servo.h>
Servo ESC1;
Servo ESC2;
float Amplitude1, Amplitude2;
int Target;

void MotorRun()
{

  if (Amplitude1 > Amplitude2) {
    digitalWrite(SERVO1, HIGH) ; digitalWrite(SERVO2, HIGH) ;
    delayMicroseconds(Amplitude2);
    digitalWrite(SERVO2, LOW) ;
    delayMicroseconds(Amplitude1 - Amplitude2);
    digitalWrite(SERVO1, LOW) ;
  }
  else if (Amplitude2 > Amplitude1) {
    digitalWrite(SERVO1, HIGH) ; digitalWrite(SERVO2, HIGH) ;
    delayMicroseconds(Amplitude1);
    digitalWrite(SERVO1, LOW) ;
    delayMicroseconds(Amplitude2 - Amplitude1);
    digitalWrite(SERVO2, LOW) ;
  }
  else {
    digitalWrite(SERVO1, HIGH) ; digitalWrite(SERVO2, HIGH) ;
    delayMicroseconds(Amplitude2);
    digitalWrite(SERVO2, LOW) ;
    digitalWrite(SERVO1, LOW) ;
  }
}

void setup()
{
  ESC1.attach(6);
  ESC2.attach(5);
  Target = 0;
}
void loop(void) {

  if (Target = 0)
  { Amplitude2 = 900;
    Amplitude1 = 950;
    MotorRun();
  }
  else
  { Amplitude1 = 900;
    Amplitude2 = 950;
    MotorRun();
  }
}

forumpost.ino (1.1 KB)

 if (Target = 0)

... should be:

if (Target == 0)

... with a double ==

Thank you works great!