mirror of
https://github.com/sle118/squeezelite-esp32.git
synced 2025-12-09 13:07:03 +03:00
add dac_config NVS for generic I2S/DAC configuration
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user