mirror of
https://github.com/tzapu/WiFiManager.git
synced 2026-04-27 00:55:52 +03:00
[PR #584] [MERGED] Changed setAPCallback and setSaveConfigCallback to take std::function… #1650
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#1650
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?
📋 Pull Request Information
Original PR: https://github.com/tzapu/WiFiManager/pull/584
Author: @cmarrin
Created: 4/7/2018
Status: ✅ Merged
Merged: 6/19/2018
Merged by: @tablatronix
Base:
development← Head:development📝 Commits (1)
174bb61Changed setAPCallback and setSaveConfigCallback to take std::function params📊 Changes
2 files changed (+7 additions, -7 deletions)
View changed files
📝
WiFiManager.cpp(+3 -3)📝
WiFiManager.h(+4 -4)📄 Description
… params
This allows Predicates and Lambdas to be passed. Still allows bare function pointers
so this patch is fully backward compatible. Tested on WiFiManager examples for
backward compatibility and on my own project (OfficeClock) for handling lambdas with
captured variables
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.