File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed
examples/NetworkConfiguratorDemo Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -76,11 +76,11 @@ void loop() {
7676 * and notification of connect/disconnect event if enabled.
7777 *
7878 * NOTE: any use of delay() within the loop or methods called from it will delay
79- * the execution of .poll () and .check() methods of the NetworkConfigurator and
79+ * the execution of .update () and .check() methods of the NetworkConfigurator and
8080 * ConnectionHandler objects which might not guarantee the correct functioning
8181 * of the code.
8282 */
83- if (NetworkConfigurator.poll () == NetworkConfiguratorStates::CONFIGURED) {
83+ if (NetworkConfigurator.update () == NetworkConfiguratorStates::CONFIGURED) {
8484 conMan.check ();
8585 }
8686}
Original file line number Diff line number Diff line change @@ -83,7 +83,7 @@ bool NetworkConfiguratorClass::begin() {
8383 return true ;
8484}
8585
86- NetworkConfiguratorStates NetworkConfiguratorClass::poll () {
86+ NetworkConfiguratorStates NetworkConfiguratorClass::update () {
8787 NetworkConfiguratorStates nextState = _state;
8888 LEDFeedbackClass::getInstance ().poll ();// TODO rename in update
8989
Original file line number Diff line number Diff line change @@ -65,7 +65,7 @@ class NetworkConfiguratorClass {
6565 * @brief Polls the current state of the network configurator.
6666 * @return The current state as a NetworkConfiguratorStates enum.
6767 */
68- NetworkConfiguratorStates poll ();// TODO rename "update"
68+ NetworkConfiguratorStates update ();
6969
7070 /* *
7171 * @brief Resets the stored network configuration.
You can’t perform that action at this time.
0 commit comments