Skip to content

Commit a2e1bde

Browse files
siara-ccsiara-in
authored andcommitted
Include dictionary and repeat coding
1 parent 9681c5f commit a2e1bde

File tree

5 files changed

+507
-356
lines changed

5 files changed

+507
-356
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
11
.DS_Store
2+
.vscode
3+

src/esp32.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
#include <esp_spi_flash.h>
1818
#include <sys/stat.h>
1919

20-
#include "shox96_0_2_0.h"
20+
#include "shox96_0_2.h"
2121

2222
#undef dbg_printf
2323
//#define dbg_printf(...) Serial.printf(__VA_ARGS__)
@@ -665,7 +665,7 @@ static void shox96_0_2c(sqlite3_context *context, int argc, sqlite3_value **argv
665665

666666
outBuf = (unsigned char *) malloc( nOut+vIntLen );
667667
memcpy(outBuf, vInt, vIntLen);
668-
nOut2 = shox96_0_2_0_compress((const char *) inBuf, nIn, (char *) &outBuf[vIntLen], NULL);
668+
nOut2 = shox96_0_2_compress((const char *) inBuf, nIn, (char *) &outBuf[vIntLen], NULL);
669669
sqlite3_result_blob(context, outBuf, nOut2+vIntLen, free);
670670
}
671671

@@ -691,7 +691,7 @@ static void shox96_0_2d(sqlite3_context *context, int argc, sqlite3_value **argv
691691
nOut = (unsigned int) inBufLen64;
692692
outBuf = (unsigned char *) malloc( nOut );
693693
//nOut2 = (long int)nOut;
694-
nOut2 = shox96_0_2_0_decompress((const char *) (inBuf + vIntLen), nIn - vIntLen, (char *) outBuf, NULL);
694+
nOut2 = shox96_0_2_decompress((const char *) (inBuf + vIntLen), nIn - vIntLen, (char *) outBuf, NULL);
695695
//if( rc!=Z_OK ){
696696
// free(outBuf);
697697
//}else{

0 commit comments

Comments
 (0)