Skip to content

Commit 15ffdf5

Browse files
fixup! defining interface settings in a struct
1 parent 0a9ebf0 commit 15ffdf5

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/ConnectionHandlerInterface.h

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ class ConnectionHandler {
8383
* in INIT state. otherwise nothing is performed. The type of the interface should match
8484
* the type of the settings provided
8585
*/
86-
inline void updateSetting(const models::NetworkSetting& s) {
86+
virtual void updateSetting(const models::NetworkSetting& s) {
8787
if(_current_net_connection_state == NetworkConnectionState::INIT && s.type == _interface) {
8888
memcpy(&_settings, &s, sizeof(s));
8989
}
@@ -100,11 +100,8 @@ class ConnectionHandler {
100100
virtual NetworkConnectionState update_handleDisconnecting() = 0;
101101
virtual NetworkConnectionState update_handleDisconnected () = 0;
102102

103-
<<<<<<< HEAD:src/ConnectionHandlerInterface.h
104-
=======
105103
models::NetworkSetting _settings;
106104

107-
>>>>>>> 8ee4dcd (readapting ConnectionHandlerInterface to use setting struct):src/Arduino_ConnectionHandlerInterface.h
108105
private:
109106

110107
unsigned long _lastConnectionTickTime;

0 commit comments

Comments
 (0)