          Serial.print(Rightmode);
          Serial.print(" at ");
          Serial.println(RightPWM);
+         */
 
          break;
 
        // invalid command
-       default:                                                
+       default:
          Serial.flush();
     }
   }

  // if Steer input is within deadband set to 1500 (1500uS=center position for most servos)
  if (abs(Steer-1500)<RCdeadband) Steer=1500;

  if (Mix==1)                                                 
  {
    // Mixes speed and steering signals
    Steer=Steer-1500;
    Leftspeed=Speed-Steer;
    Rightspeed=Speed+Steer;
  }
  else                                                        
  {
    // Individual stick control
    Leftspeed=Speed;
    Rightspeed=Steer;

    rightoverload=millis();
  }

  if ((Volts<lowvolt) && (Charged==1)) { // check condition of the battery                                                           // change battery status from charged to flat
    //
    // FLAT BATTERY speed controller shuts down until battery is recharged
    //
