kopia lustrzana https://github.com/meshtastic/firmware
Fix potential buffer clean issue
rodzic
0e04bea39e
commit
f4704181e9
|
@ -125,7 +125,7 @@ byte is_inited = 0;
|
|||
void init_coder() {
|
||||
if (is_inited)
|
||||
return;
|
||||
memset(usx_code_94, '\0', sizeof(usx_code_94));
|
||||
memset_s(usx_code_94, '\0', sizeof(usx_code_94));
|
||||
for (int i = 0; i < 3; i++) {
|
||||
for (int j = 0; j < 28; j++) {
|
||||
byte c = usx_sets[i][j];
|
||||
|
|
Ładowanie…
Reference in New Issue