Skip to content

Commit e6545fe

Browse files
committed
Mark 'getStatus()' as deprecated since the network status can be directly obtained from the check function and will be removed in a future version
1 parent 93a7b3c commit e6545fe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Arduino_ConnectionHandler.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ class ConnectionHandler {
145145
virtual UDP &getUDP() = 0;
146146
#endif
147147

148-
virtual NetworkConnectionState getStatus() {
148+
virtual NetworkConnectionState getStatus() __attribute__((deprecated)) {
149149
return netConnectionState;
150150
}
151151
virtual void connect();

0 commit comments

Comments
 (0)