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;
#endif //CRITICAL_SECTION_START
extern bool fans_check_enabled;
extern float homing_feedrate[];
extern bool axis_relative_modes[];
extern int feedmultiply;

View File

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

View File

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