Move all farm configuration to header
This commit is contained in:
parent
d049d09623
commit
435ee66bdd
2 changed files with 2 additions and 4 deletions
|
@ -10,10 +10,6 @@
|
||||||
#include "fsensor.h" //to be converted to Filament_sensor.h...
|
#include "fsensor.h" //to be converted to Filament_sensor.h...
|
||||||
|
|
||||||
#ifdef PRUSA_FARM
|
#ifdef PRUSA_FARM
|
||||||
|
|
||||||
#define NC_TIME 10 //time in s for periodic important status messages sending which needs reponse from monitoring
|
|
||||||
#define NC_BUTTON_LONG_PRESS 15 //time in s
|
|
||||||
|
|
||||||
uint8_t farm_mode = 0;
|
uint8_t farm_mode = 0;
|
||||||
|
|
||||||
static ShortTimer NcTime;
|
static ShortTimer NcTime;
|
||||||
|
|
|
@ -4,6 +4,8 @@
|
||||||
#include "Configuration.h"
|
#include "Configuration.h"
|
||||||
|
|
||||||
#define FARM_DEFAULT_SAFETYTIMER_TIME_ms (45*60*1000ul)
|
#define FARM_DEFAULT_SAFETYTIMER_TIME_ms (45*60*1000ul)
|
||||||
|
#define NC_TIME 10 //time in s for periodic important status messages sending which needs reponse from monitoring
|
||||||
|
#define NC_BUTTON_LONG_PRESS 15 //time in s
|
||||||
|
|
||||||
#ifdef PRUSA_FARM
|
#ifdef PRUSA_FARM
|
||||||
extern uint8_t farm_mode;
|
extern uint8_t farm_mode;
|
||||||
|
|
Loading…
Reference in a new issue