From a246823f973f63e52744cab6931a9d2b4a6255e7 Mon Sep 17 00:00:00 2001 From: dannybackx Date: Sun, 30 Oct 2016 15:43:03 +0100 Subject: [PATCH] Initialize the new fields --- esp-link/config.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/esp-link/config.c b/esp-link/config.c index d12f7a7..b3302f7 100644 --- a/esp-link/config.c +++ b/esp-link/config.c @@ -35,6 +35,10 @@ FlashConfig flashDefault = { .data_bits = EIGHT_BITS, .parity = NONE_BITS, .stop_bits = ONE_STOP_BIT, + .port1_mode = PORT1_MODE, + .port2_mode = PORT2_MODE, + .port1_portnumber = PORT1_PORTNUMBER, + .port2_portnumber = PORT2_PORTNUMBER, }; typedef union {