Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when updating to latest version (04-08-2021) #25

Open
spellwind84 opened this issue Apr 8, 2021 · 0 comments
Open

Error when updating to latest version (04-08-2021) #25

spellwind84 opened this issue Apr 8, 2021 · 0 comments

Comments

@spellwind84
Copy link

C:\Users*\Documents\Arduino\a_GLOBAL\b_SETTINGS.ino: In function 'void loadSettings()':
b_SETTINGS:14:59: error: 'saveWiFiPreferences' was not declared in this scope
saveWiFiPreferences(&(WIFI_SSID[0]), &(WIFI_PASS[0]));
^
C:\Users*****\Documents\Arduino\a_GLOBAL\b_SETTINGS.ino: At global scope:
b_SETTINGS:25:3: error: 'CONN_INT' does not name a type
CONN_INT = preferences.getUInt("conn_int") || CONN_INT;
^
b_SETTINGS:26:3: error: 'MODE' does not name a type
MODE = preferences.getUInt("mode") || MODE;
^
b_SETTINGS:27:3: error: 'JUSTLIVE' does not name a type
JUSTLIVE = preferences.getUInt("justLive") || JUSTLIVE;
^
b_SETTINGS:29:3: error: expected unqualified-id before 'if'
if(preferences.getString("m_tally").length() > 0){
^
b_SETTINGS:33:3: error: 'Serial' does not name a type
Serial.println("BRIGHTNESS");
^
b_SETTINGS:34:3: error: 'Serial' does not name a type
Serial.println(preferences.getUInt("bright"));
^
b_SETTINGS:36:3: error: expected unqualified-id before 'if'
if(preferences.getUInt("bright")){
^
b_SETTINGS:40:3: error: 'preferences' does not name a type
preferences.end();
^
b_SETTINGS:41:1: error: expected declaration before '}' token
}
^
Multiple libraries were found for "WiFi.h"
Used: C:\Users*
\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6\libraries\WiFi
Unused: C:\Program Files (x86)\Arduino\libraries\WiFi
exit status 1
'saveWiFiPreferences' was not declared in this scope

Copied libraries from latest version to document/arduino/libraries, after removing the old libraries with the same name, opened a_global from latest version and tried to update.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant