Fix null qr values

ssid and password null in qr when restarting
This commit is contained in:
Lakindu Akash 2021-10-18 03:57:59 +05:30
parent f12203befa
commit d083bbdecf
No known key found for this signature in database
GPG Key ID: 6FB0085A614E0AC2

View File

@ -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;