add dac_config NVS for generic I2S/DAC configuration

This commit is contained in:
philippe44
2020-02-05 16:22:10 -08:00
parent e171688c06
commit 28c3246398
9 changed files with 1202 additions and 38 deletions

View File

@@ -311,7 +311,7 @@ static void handleLogBuffer(int partnerSocket, UBaseType_t count){
UBaseType_t uxItemsWaiting;
UBaseType_t uxBytesToSend=count;
vRingbufferGetInfo(buf_handle, NULL, NULL, NULL, &uxItemsWaiting);
vRingbufferGetInfo(buf_handle, NULL, NULL, NULL, NULL, &uxItemsWaiting);
if( partnerSocket ==0 && (uxItemsWaiting*100 / log_buf_size) <75){
// We still have some room in the ringbuffer and there's no telnet
// connection yet, so bail out for now.