We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2b32dce commit 1309ef0Copy full SHA for 1309ef0
supervisor/shared/translate.c
@@ -87,11 +87,13 @@ STATIC int put_utf8(char *buf, int u) {
87
}
88
89
uint16_t decompress_length(const compressed_string_t *compressed) {
90
+ #ifndef NO_QSTR
91
#if (compress_max_length_bits <= 8)
92
return 1 + (compressed->data >> (8 - compress_max_length_bits));
93
#else
94
return 1 + ((compressed->data * 256 + compressed->tail[0]) >> (16 - compress_max_length_bits));
95
#endif
96
+ #endif
97
98
99
char *decompress(const compressed_string_t *compressed, char *decompressed) {
0 commit comments