mirror of https://github.com/arendst/Tasmota.git
Merge pull request #11738 from Sthopeless/patch-1
Update xdrv_79_esp32_ble.ino
This commit is contained in:
commit
0e80516a34
|
@ -2004,7 +2004,7 @@ static void BLETaskRunCurrentOperation(BLE_ESP32::generic_sensor_t** pCurrentOpe
|
|||
}
|
||||
}
|
||||
if (op->writelen){
|
||||
if(pCharacteristic->canWrite()) {
|
||||
if(pCharacteristic->canWrite() || pCharacteristic->canWriteNoResponse() ) {
|
||||
if (!pCharacteristic->writeValue(op->dataToWrite, op->writelen, true)){
|
||||
newstate = GEN_STATE_FAILED_WRITE;
|
||||
#ifdef BLE_ESP32_DEBUG
|
||||
|
|
Loading…
Reference in New Issue