mirror of
https://github.com/tzapu/WiFiManager.git
synced 2026-04-27 09:05:56 +03:00
[GH-ISSUE #830] The definition of the "init ()" method is missing #694
Labels
No labels
📶 WiFi
🕸️ HTTP
Branch
DEV Help Wanted
Discussion
Documentation
ESP32
Example
Good First Issue
Hotfix
In Progress
Incomplete
Needs Feeback
Priority
QA
Question
Task
Upstream/Dependancy
bug
duplicate
enhancement
invalid
pull-request
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/WiFiManager#694
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @ferchinas on GitHub (Feb 20, 2019).
Original GitHub issue: https://github.com/tzapu/WiFiManager/issues/830
Hello:
I am updating the version of WifiManager to use it with ESP32, and I find the following problems.
Hardware
WiFimanager Branch/Release:
Esp8266/Esp32:
Hardware: ESP-12e, esp01, esp25
ESP32 Core Version:
Description
There is a declaration of init () that does not have its definition.
The init () method, is defined as "protected", and I can not use it to initialize the object. (I do not initialize it in the constructor because the "wm" object I use it as a member of my own class)
I already solve these problems by modifying the library, and so I can compile my application.
It would be nice if the library includes the changes
Thank you
@tablatronix commented on GitHub (Feb 20, 2019):
init is a method of wifimanager parameter class...
what changes did you make and what are you doing ?
@ferchinas commented on GitHub (Feb 20, 2019):
I was using the library a year ago, now I wanted to update it and my code did not compile. That's why I found that:
The method in WifiManager.h line 128, is not defined in WifiManager.cpp
void init (const char * id, const char * label, const char * defaultValue, int length, const char * custom);And this method in the current version of the library is protected.
My modification was:
@tablatronix commented on GitHub (Feb 20, 2019):
Oh I see there are 2 init, odd