mirror of https://github.com/sqfmi/Watchy.git
Compare commits
No commits in common. "2705fca5ba113a0b30dad27933e9d71b5cfe3956" and "41d8917c76541d7b13b68bf66e849071e8e6d4dd" have entirely different histories.
2705fca5ba
...
41d8917c76
|
@ -38,7 +38,7 @@ public:
|
||||||
};
|
};
|
||||||
|
|
||||||
void otaCallback::onWrite(BLECharacteristic *pCharacteristic) {
|
void otaCallback::onWrite(BLECharacteristic *pCharacteristic) {
|
||||||
auto rxData = pCharacteristic->getValue();
|
String rxData = pCharacteristic->getValue();
|
||||||
if (!updateFlag) { // If it's the first packet of OTA since bootup, begin OTA
|
if (!updateFlag) { // If it's the first packet of OTA since bootup, begin OTA
|
||||||
// Serial.println("Begin FW Update");
|
// Serial.println("Begin FW Update");
|
||||||
esp_ota_begin(esp_ota_get_next_update_partition(NULL), OTA_SIZE_UNKNOWN,
|
esp_ota_begin(esp_ota_get_next_update_partition(NULL), OTA_SIZE_UNKNOWN,
|
||||||
|
|
Loading…
Reference in New Issue