Skip to content

Commit d994574

Browse files
committed
Avoid hang on unititialized ram
1 parent dca4263 commit d994574

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/MKRWANFWUpdate_standalone/serial_arduino.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ struct port_interface {
5555
port_err_t (*flush)(struct port_interface *port);
5656
port_err_t (*read)(struct port_interface *port, void *buf, size_t nbyte);
5757
port_err_t (*write)(struct port_interface *port, void *buf, size_t nbyte);
58-
struct varlen_cmd *cmd_get_reply;
58+
struct varlen_cmd *cmd_get_reply = NULL;
5959
Uart *dev;
6060
struct port_options *ops;
6161
};

0 commit comments

Comments
 (0)