Skip to content

Commit 0daf985

Browse files
committed
Adds AutoConnect::getOTA function #325
1 parent 75ab490 commit 0daf985

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/AutoConnect.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -234,6 +234,7 @@ class AutoConnect {
234234
bool config(AutoConnectConfig& Config);
235235
bool config(const char* ap, const char* password = nullptr);
236236
void end(void);
237+
AutoConnectOTA* getOTA(void) { return _ota.get(); }
237238
AutoConnectConfig& getConfig(void) { return _apConfig; }
238239
uint16_t getEEPROMUsedSize(void);
239240
void handleClient(void);

0 commit comments

Comments
 (0)