From d083bbdecffbf710d1b097673a7a8405569cdf7c Mon Sep 17 00:00:00 2001 From: Lakindu Akash Date: Mon, 18 Oct 2021 03:57:59 +0530 Subject: [PATCH] Fix null qr values ssid and password null in qr when restarting --- src/ui/ui.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/ui/ui.c b/src/ui/ui.c index 2a58106..9104174 100644 --- a/src/ui/ui.c +++ b/src/ui/ui.c @@ -460,7 +460,9 @@ void init_ui_from_config(){ if(read_config_file()==READ_CONFIG_FILE_SUCCESS){ - ConfigValues *values=getConfigValues(); + configValues=*getConfigValues(); + + ConfigValues *values=&configValues; //TODO do properly configValues.accepted_mac_file=values->accepted_mac_file;