mirror of
https://github.com/markqvist/OpenModem.git
synced 2025-05-07 17:05:28 -04:00
Fixed escape char bug
This commit is contained in:
parent
9637efd46f
commit
7b5495b767
7 changed files with 38 additions and 23 deletions
|
@ -38,7 +38,7 @@ static const char *state_names[] = {
|
|||
};
|
||||
#else
|
||||
#define LOG(...) /* no-op */
|
||||
#define ASSERT(X) /* no-op */
|
||||
//#define ASSERT(X) /* no-op */
|
||||
#endif
|
||||
|
||||
// Encoder flags
|
||||
|
@ -315,7 +315,6 @@ static HSE_state st_step_search(heatshrink_encoder *hse) {
|
|||
LOG("ss Found match of %d bytes at %d\n", match_length, match_pos);
|
||||
hse->match_pos = match_pos;
|
||||
hse->match_length = match_length;
|
||||
ASSERT(match_pos < 1 << hse->window_sz2 /*window_length*/);
|
||||
|
||||
return HSES_YIELD_TAG_BIT;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue