blob: 4ae566f508afaa6bfd0cdddbcf1f93431f0ab5e6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
#ifndef LFS2_DEFINES_H
#define LFS2_DEFINES_H
#include "py/mpconfig.h"
#if MICROPY_PY_DEFLATE
// We reuse the CRC32 implementation from uzlib to save a few bytes
#include "lib/uzlib/uzlib.h"
#define LFS2_CRC(crc, buffer, size) uzlib_crc32(buffer, size, crc)
#endif
#endif
|