From 435ee66bdd3986156064df2bc4b32043eb87b114 Mon Sep 17 00:00:00 2001 From: Alex Voinea Date: Sun, 28 Aug 2022 17:57:52 +0300 Subject: [PATCH] Move all farm configuration to header --- Firmware/Prusa_farm.cpp | 4 ---- Firmware/Prusa_farm.h | 2 ++ 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/Firmware/Prusa_farm.cpp b/Firmware/Prusa_farm.cpp index 424f89ff..f575e26f 100644 --- a/Firmware/Prusa_farm.cpp +++ b/Firmware/Prusa_farm.cpp @@ -10,10 +10,6 @@ #include "fsensor.h" //to be converted to Filament_sensor.h... #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; static ShortTimer NcTime; diff --git a/Firmware/Prusa_farm.h b/Firmware/Prusa_farm.h index 3e326b63..f899ad54 100644 --- a/Firmware/Prusa_farm.h +++ b/Firmware/Prusa_farm.h @@ -4,6 +4,8 @@ #include "Configuration.h" #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 extern uint8_t farm_mode;