mirror of
https://github.com/0xFEEDC0DE64/arduino-esp32.git
synced 2025-06-25 18:01:33 +02:00
Update BluetoothSerial.cpp (#3308)
This commit is contained in:
@ -136,12 +136,12 @@ static void _spp_tx_task(void * arg){
|
||||
if(len){
|
||||
memcpy(_spp_tx_buffer, data, len);
|
||||
_spp_tx_buffer_len += len;
|
||||
free(packet);
|
||||
packet = NULL;
|
||||
if(uxQueueMessagesWaiting(_spp_tx_queue) == 0){
|
||||
_spp_send_buffer();
|
||||
}
|
||||
}
|
||||
free(packet);
|
||||
packet = NULL;
|
||||
}
|
||||
} else {
|
||||
log_e("Something went horribly wrong");
|
||||
|
Reference in New Issue
Block a user