 {
   if (digitalRead(encoderRightData1) == digitalRead(encoderRightData2))
   {
-    tickDataRight++;
+	tickDataRight++;
   }
   else
   {
-    tickDataRight--;
+	tickDataRight--;
   }
 }
 

  digitalWrite(encoderLeftData1,  HIGH);
  digitalWrite(encoderLeftData2,  HIGH);

  pinMode(rightDir, OUTPUT);
  pinMode(rightSpeed, OUTPUT);
  pinMode(rightDisable, OUTPUT);
  pinMode(leftDir, OUTPUT);
  pinMode(leftSpeed, OUTPUT);
  pinMode(leftDisable, OUTPUT);
  attachInterrupt(1, tickRight, CHANGE);
  attachInterrupt(0, tickLeft, CHANGE);

const int encoderRightData2 = 5;
const int encoderLeftData1 = 2;
const int encoderLeftData2 = 4;
const int rightForwardSpeed = 7; //BLi
const int rightBackwardSpeed = 6; //HLi
const int rightDisable = 8;
const int leftForwardSpeed = 10;
const int leftBackwardSpeed = 9;
const int leftDisable = 11;

volatile int tickDataRight = 0;
