Changed hapOut delay back to 1ms - works fine

Identified issue with ESP32-S3 crashing when using PSRAM.  Problem was not the code, but that the sketch was using pins that are needed to run the Octal PSRAM that comes with the Espressif S3 DevKit.
This commit is contained in:
Gregg 2024-01-06 21:08:32 -06:00
parent bd474778e5
commit 0492b67b55
1 changed files with 1 additions and 1 deletions

View File

@ -1656,7 +1656,7 @@ void HapOut::HapStreamBuffer::flushBuffer(){
hapClient->client.write(encBuf,num+18); // transmit encrypted frame hapClient->client.write(encBuf,num+18); // transmit encrypted frame
hapClient->a2cNonce.inc(); // increment nonce hapClient->a2cNonce.inc(); // increment nonce
} }
delay(50); delay(1);
} }
mbedtls_sha512_update_ret(ctx,(uint8_t *)buffer,num); // update hash mbedtls_sha512_update_ret(ctx,(uint8_t *)buffer,num); // update hash