Move prototype to header file.

This commit is contained in:
Marek Bel 2019-02-26 18:50:15 +01:00
parent a67645fda6
commit 49b1d1cb93
3 changed files with 1 additions and 4 deletions

View File

@ -284,6 +284,7 @@ void setPwmFrequency(uint8_t pin, int val);
#define CRITICAL_SECTION_END SREG = _sreg; #define CRITICAL_SECTION_END SREG = _sreg;
#endif //CRITICAL_SECTION_START #endif //CRITICAL_SECTION_START
extern bool fans_check_enabled;
extern float homing_feedrate[]; extern float homing_feedrate[];
extern bool axis_relative_modes[]; extern bool axis_relative_modes[];
extern int feedmultiply; extern int feedmultiply;

View File

@ -483,8 +483,6 @@ void countFanSpeed()
fan_edge_counter[1] = 0; fan_edge_counter[1] = 0;
} }
extern bool fans_check_enabled;
void checkFanSpeed() void checkFanSpeed()
{ {
uint8_t max_print_fan_errors = 0; uint8_t max_print_fan_errors = 0;

View File

@ -41,8 +41,6 @@
#include "static_assert.h" #include "static_assert.h"
#include "io_atmega2560.h" #include "io_atmega2560.h"
extern bool fans_check_enabled;
int scrollstuff = 0; int scrollstuff = 0;
char longFilenameOLD[LONG_FILENAME_LENGTH]; char longFilenameOLD[LONG_FILENAME_LENGTH];