Browse Source

Merge pull request #1019 from mkbel/MK3_fix6

Mk3 fix6
XPila 5 years ago
parent
commit
290328445a
4 changed files with 2 additions and 3 deletions
  1. 1 0
      Firmware/Marlin.h
  2. 1 0
      Firmware/stepper.h
  3. 0 1
      Firmware/ultralcd.cpp
  4. 0 2
      Firmware/xyzcal.cpp

+ 1 - 0
Firmware/Marlin.h

@@ -282,6 +282,7 @@ extern bool axis_known_position[3];
 extern float zprobe_zoffset;
 extern int fanSpeed;
 extern void homeaxis(int axis, uint8_t cnt = 1, uint8_t* pstep = 0);
+extern int8_t lcd_change_fil_state;
 
 
 #ifdef FAN_SOFT_PWM

+ 1 - 0
Firmware/stepper.h

@@ -90,6 +90,7 @@ extern bool x_min_endstop;
 extern bool x_max_endstop;
 extern bool y_min_endstop;
 extern bool y_max_endstop;
+extern volatile long count_position[NUM_AXIS];
 
 void quickStop();
 #if defined(DIGIPOTSS_PIN) && DIGIPOTSS_PIN > -1

+ 0 - 1
Firmware/ultralcd.cpp

@@ -37,7 +37,6 @@
 
 #include "mmu.h"
 
-extern int lcd_change_fil_state;
 extern bool fans_check_enabled;
 
 

+ 0 - 2
Firmware/xyzcal.cpp

@@ -32,8 +32,6 @@
 
 #define _PI 3.14159265F
 
-extern volatile long count_position[NUM_AXIS];
-
 uint8_t check_pinda_0();
 uint8_t check_pinda_1();
 void xyzcal_update_pos(uint16_t dx, uint16_t dy, uint16_t dz, uint16_t de);