mirror of
https://github.com/meshtastic/firmware.git
synced 2025-06-13 16:42:07 +00:00
Merge pull request #1383 from mc-hamster/compression
Change to unishox library
This commit is contained in:
commit
6a3d81eff8
@ -129,11 +129,13 @@ void init_coder() {
|
||||
for (int i = 0; i < 3; i++) {
|
||||
for (int j = 0; j < 28; j++) {
|
||||
byte c = usx_sets[i][j];
|
||||
if (c > 32) {
|
||||
usx_code_94[c - USX_OFFSET_94] = (i << 5) + j;
|
||||
if (c >= 'a' && c <= 'z')
|
||||
usx_code_94[c - USX_OFFSET_94 - ('a' - 'A')] = (i << 5) + j;
|
||||
}
|
||||
}
|
||||
}
|
||||
is_inited = 1;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user