Prusa3d Marlin fork
Prusa_farm.h
1 #pragma once
2 
3 #include <inttypes.h>
4 #include "config.h"
5 
6 #define FARM_PREHEAT_HOTEND_TEMP 250
7 #define FARM_PREHEAT_HPB_TEMP 80
8 
9 #define FARM_DEFAULT_SAFETYTIMER_TIME_ms (45*60*1000ul)
10 #define NC_TIME 10 //time in s for periodic important status messages sending which needs reponse from monitoring
11 #define NC_BUTTON_LONG_PRESS 15 //time in s
12 
13 //#define FARM_CONNECT_MESSAGE
14 
15 #ifdef PRUSA_FARM
16 extern uint8_t farm_mode;
17 #else
18 #define farm_mode 0
19 #endif
20 
21 #ifdef PRUSA_M28
22 extern bool prusa_sd_card_upload;
23 extern void serial_read_stream();
24 #endif
25 extern void prusa_statistics(uint8_t _message);
26 extern void prusa_statistics_update_from_status_screen();
27 extern void prusa_statistics_update_from_lcd_update();
28 extern void farm_mode_init();
29 extern bool farm_prusa_code_seen();
30 extern void farm_gcode_g98();
31 extern void farm_gcode_g99();
32 extern void farm_disable();