Prusa_farm.h 828 B

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