My Marlin configs for Fabrikator Mini and CTC i3 Pro B
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

heatshrink_config.h 731B

1234567891011121314151617181920212223242526
  1. /**
  2. * libs/heatshrink/heatshrink_config.h
  3. */
  4. #pragma once
  5. // Should functionality assuming dynamic allocation be used?
  6. #ifndef HEATSHRINK_DYNAMIC_ALLOC
  7. //#define HEATSHRINK_DYNAMIC_ALLOC 1
  8. #endif
  9. #if HEATSHRINK_DYNAMIC_ALLOC
  10. // Optional replacement of malloc/free
  11. #define HEATSHRINK_MALLOC(SZ) malloc(SZ)
  12. #define HEATSHRINK_FREE(P, SZ) free(P)
  13. #else
  14. // Required parameters for static configuration
  15. #define HEATSHRINK_STATIC_INPUT_BUFFER_SIZE 32
  16. #define HEATSHRINK_STATIC_WINDOW_BITS 8
  17. #define HEATSHRINK_STATIC_LOOKAHEAD_BITS 4
  18. #endif
  19. // Turn on logging for debugging
  20. #define HEATSHRINK_DEBUGGING_LOGS 0
  21. // Use indexing for faster compression. (This requires additional space.)
  22. #define HEATSHRINK_USE_INDEX 1