Prusa_farm.h 860 B

1234567891011121314151617181920212223242526272829303132
  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. //#define FARM_CONNECT_MESSAGE
  10. #ifdef PRUSA_FARM
  11. extern uint8_t farm_mode;
  12. #else
  13. #define farm_mode 0
  14. #endif
  15. #ifdef PRUSA_M28
  16. extern bool prusa_sd_card_upload;
  17. extern void serial_read_stream();
  18. #endif
  19. extern void prusa_statistics(uint8_t _message);
  20. extern void prusa_statistics_update_from_status_screen();
  21. extern void prusa_statistics_update_from_lcd_update();
  22. extern void farm_mode_init();
  23. extern bool farm_prusa_code_seen();
  24. extern void farm_gcode_g98();
  25. extern void farm_gcode_g99();
  26. extern void farm_disable();