mirror of
https://github.com/esp8266/Arduino.git
synced 2025-06-12 01:53:07 +03:00
Add getCommand() api for OTA update type (#2259)
This commit is contained in:
@ -40,6 +40,7 @@ class ArduinoOTAClass
|
||||
void onProgress(THandlerFunction_Progress fn);
|
||||
void begin();
|
||||
void handle();
|
||||
int getCommand(); // get update command type after OTA started- either U_FLASH or U_SPIFFS
|
||||
|
||||
private:
|
||||
int _port;
|
||||
|
Reference in New Issue
Block a user