Browse Source

Missed some variable declarations

Integrated fixes from henrikbrixandersen pull request #504
pull/1/head
Gord Christmas 12 years ago
parent
commit
a733537ddd
  1. 4
      Marlin/Marlin_main.cpp
  2. 2
      Marlin/Servo.cpp
  3. 2
      Marlin/pins.h

4
Marlin/Marlin_main.cpp

@ -177,6 +177,10 @@ float extruder_offset[2][EXTRUDERS] = {
#endif
uint8_t active_extruder = 0;
int fanSpeed=0;
#ifdef SERVO_ENDSTOPS
int servo_endstops[] = SERVO_ENDSTOPS;
int servo_endstop_angles[] = SERVO_ENDSTOP_ANGLES;
#endif
#ifdef BARICUDA
int ValvePressure=0;
int EtoPPressure=0;

2
Marlin/Servo.cpp

@ -41,6 +41,8 @@
detach() - Stops an attached servos from pulsing its i/o pin.
*/
#include "Configuration.h"
#ifdef NUM_SERVOS
#include <avr/interrupt.h>
#include <Arduino.h>

2
Marlin/pins.h

@ -391,7 +391,7 @@
#define SERVO2_PIN 5
#endif
#if NUM_SERVOS > 2
#if NUM_SERVOS > 3
#define SERVO3_PIN 4
#endif
#endif

Loading…
Cancel
Save