mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-03-29 13:20:39 +00:00
fix compile
This commit is contained in:
parent
a0653c3b5c
commit
f4bc971fce
@ -51,16 +51,17 @@
|
||||
#include "CppUTest/TestHarness.h"
|
||||
#include "CppUTest/CommandLineTestRunner.h"
|
||||
|
||||
#include "hci_cmd.h"
|
||||
#include "btstack_run_loop.h"
|
||||
#include "classic/sdp_util.h"
|
||||
|
||||
#include "hci.h"
|
||||
#include "l2cap.h"
|
||||
#include "btstack_debug.h"
|
||||
#include "btstack_event.h"
|
||||
#include "btstack_run_loop.h"
|
||||
#include "classic/hfp_ag.h"
|
||||
#include "classic/rfcomm.h"
|
||||
#include "classic/sdp_server.h"
|
||||
#include "btstack_debug.h"
|
||||
#include "classic/hfp_ag.h"
|
||||
#include "classic/sdp_util.h"
|
||||
#include "hci.h"
|
||||
#include "hci_cmd.h"
|
||||
#include "l2cap.h"
|
||||
|
||||
#include "mock.h"
|
||||
#include "test_sequences.h"
|
||||
@ -301,8 +302,6 @@ static void simulate_test_sequence(hfp_test_item_t * test_item){
|
||||
printf("\nSimulate test sequence: \"%s\"\n", test_item->name);
|
||||
|
||||
int i = 0;
|
||||
static char * previous_cmd = NULL;
|
||||
|
||||
int previous_step = -1;
|
||||
while ( i < test_item->len){
|
||||
previous_step++;
|
||||
@ -334,8 +333,7 @@ static void simulate_test_sequence(hfp_test_item_t * test_item){
|
||||
return;
|
||||
}
|
||||
printf("Verified: '%s'\n", expected_cmd);
|
||||
previous_cmd = ag_cmd;
|
||||
|
||||
|
||||
i++;
|
||||
if (i < test_item->len){
|
||||
expected_cmd = test_steps[i];
|
||||
|
Loading…
x
Reference in New Issue
Block a user