diff --git a/src/main.cpp b/src/main.cpp index 0dde800..99562f6 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -29,8 +29,6 @@ unsigned long last, initTime; PWMServo yaw; PWMServo pitch; -int servoPos = 90; // variable to store the servo position; - void setup() { Serial.begin(9600); @@ -81,7 +79,7 @@ void loop() { if ((State.z < 0.0) && (State.thrustFiring == 2)) { analogWrite(pin_igniter, 0); - Serial.println("Run duration:" + String((micros() - initTime) / 1000000.0) + + Serial.println("Run duration:" + String((micros() - initTime) / 1e6) + " seconds"); printSimResults(State);