소스 검색

Move all farm configuration to header

Alex Voinea 2 년 전
부모
커밋
435ee66bdd
2개의 변경된 파일2개의 추가작업 그리고 4개의 파일을 삭제
  1. 0 4
      Firmware/Prusa_farm.cpp
  2. 2 0
      Firmware/Prusa_farm.h

+ 0 - 4
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;

+ 2 - 0
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;