mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-03-29 04:20:20 +00:00
auto-pts: exit btpclient on socket disconnect
This commit is contained in:
parent
336f31e777
commit
00ec2a3103
@ -424,7 +424,7 @@ static void btp_core_handler(uint8_t opcode, uint8_t controller_index, uint16_t
|
|||||||
status = data[0];
|
status = data[0];
|
||||||
if (status == BTP_ERROR_NOT_READY){
|
if (status == BTP_ERROR_NOT_READY){
|
||||||
// connection stopped, abort
|
// connection stopped, abort
|
||||||
// exit(10);
|
exit(10);
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case BTP_CORE_OP_READ_SUPPORTED_COMMANDS:
|
case BTP_CORE_OP_READ_SUPPORTED_COMMANDS:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user