/ SHARP_BadApple / heatshrink_common.h
heatshrink_common.h
 1  // SPDX-FileCopyrightText: 2020 Melissa LeBlanc-Williams for Adafruit Industries
 2  //
 3  // SPDX-License-Identifier: MIT
 4  
 5  #ifndef HEATSHRINK_H
 6  #define HEATSHRINK_H
 7  
 8  #define HEATSHRINK_AUTHOR "Scott Vokes <vokes.s@gmail.com>"
 9  #define HEATSHRINK_URL "https://github.com/atomicobject/heatshrink"
10  
11  /* Version 0.4.1 */
12  #define HEATSHRINK_VERSION_MAJOR 0
13  #define HEATSHRINK_VERSION_MINOR 4
14  #define HEATSHRINK_VERSION_PATCH 1
15  
16  #define HEATSHRINK_MIN_WINDOW_BITS 4
17  #define HEATSHRINK_MAX_WINDOW_BITS 15
18  
19  #define HEATSHRINK_MIN_LOOKAHEAD_BITS 3
20  
21  #define HEATSHRINK_LITERAL_MARKER 0x01
22  #define HEATSHRINK_BACKREF_MARKER 0x00
23  
24  #endif