mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-02-14 19:24:10 +08:00
init array
This commit is contained in:
parent
62f46d6544
commit
7912f7494b
1 changed files with 1 additions and 1 deletions
|
@ -49,7 +49,7 @@ typedef struct {
|
|||
} serial_port_windows;
|
||||
|
||||
serial_port uart_open(const char *pcPortName, uint32_t speed) {
|
||||
char acPortName[255];
|
||||
char acPortName[255] = {0};
|
||||
serial_port_windows *sp = calloc(sizeof(serial_port_windows), sizeof(uint8_t));
|
||||
|
||||
if (sp == 0) {
|
||||
|
|
Loading…
Reference in a new issue