Missed some variable declarations
Integrated fixes from henrikbrixandersen pull request #504
This commit is contained in:
parent
f4f30c9d64
commit
a733537ddd
|
@ -177,6 +177,10 @@ float extruder_offset[2][EXTRUDERS] = {
|
||||||
#endif
|
#endif
|
||||||
uint8_t active_extruder = 0;
|
uint8_t active_extruder = 0;
|
||||||
int fanSpeed=0;
|
int fanSpeed=0;
|
||||||
|
#ifdef SERVO_ENDSTOPS
|
||||||
|
int servo_endstops[] = SERVO_ENDSTOPS;
|
||||||
|
int servo_endstop_angles[] = SERVO_ENDSTOP_ANGLES;
|
||||||
|
#endif
|
||||||
#ifdef BARICUDA
|
#ifdef BARICUDA
|
||||||
int ValvePressure=0;
|
int ValvePressure=0;
|
||||||
int EtoPPressure=0;
|
int EtoPPressure=0;
|
||||||
|
|
|
@ -41,6 +41,8 @@
|
||||||
detach() - Stops an attached servos from pulsing its i/o pin.
|
detach() - Stops an attached servos from pulsing its i/o pin.
|
||||||
|
|
||||||
*/
|
*/
|
||||||
|
#include "Configuration.h"
|
||||||
|
|
||||||
#ifdef NUM_SERVOS
|
#ifdef NUM_SERVOS
|
||||||
#include <avr/interrupt.h>
|
#include <avr/interrupt.h>
|
||||||
#include <Arduino.h>
|
#include <Arduino.h>
|
||||||
|
|
|
@ -391,7 +391,7 @@
|
||||||
#define SERVO2_PIN 5
|
#define SERVO2_PIN 5
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if NUM_SERVOS > 2
|
#if NUM_SERVOS > 3
|
||||||
#define SERVO3_PIN 4
|
#define SERVO3_PIN 4
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
@ -1846,4 +1846,4 @@
|
||||||
HEATER_BED_PIN, FAN_PIN, \
|
HEATER_BED_PIN, FAN_PIN, \
|
||||||
_E0_PINS _E1_PINS _E2_PINS \
|
_E0_PINS _E1_PINS _E2_PINS \
|
||||||
analogInputToDigitalPin(TEMP_0_PIN), analogInputToDigitalPin(TEMP_1_PIN), analogInputToDigitalPin(TEMP_2_PIN), analogInputToDigitalPin(TEMP_BED_PIN) }
|
analogInputToDigitalPin(TEMP_0_PIN), analogInputToDigitalPin(TEMP_1_PIN), analogInputToDigitalPin(TEMP_2_PIN), analogInputToDigitalPin(TEMP_BED_PIN) }
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in a new issue