fix adapter_bluetooth test function bugs

This commit is contained in:
Liu_Weichao 2021-10-15 10:12:19 +08:00
parent 8aac82b1b4
commit 8f6cac9797
1 changed files with 1 additions and 1 deletions

View File

@ -85,7 +85,6 @@ int AdapterBlueToothTest(void)
{
const char *bluetooth_msg = "BT Adapter Test";
char bluetooth_recv_msg[128];
char recv_msg[128];
int len;
int baud_rate = BAUD_RATE_115200;
@ -103,6 +102,7 @@ int AdapterBlueToothTest(void)
AdapterDeviceSend(adapter, bluetooth_msg, len);
printf("send %s after recv\n", bluetooth_msg);
PrivTaskDelay(100);
memset(bluetooth_recv_msg, 0, 128);
}
#endif