mirror of
https://github.com/espressif/esp-lwip.git
synced 2026-06-05 21:04:45 +00:00
test: Fix multiple defs of util vars
This commit is contained in:
@@ -38,7 +38,7 @@ typedef enum {
|
|||||||
PACKET_PBUF_REF
|
PACKET_PBUF_REF
|
||||||
} packet_type_t;
|
} packet_type_t;
|
||||||
|
|
||||||
unsigned char *packet_buffer[1518];
|
static unsigned char *packet_buffer[1518];
|
||||||
static int random_mock = -1;
|
static int random_mock = -1;
|
||||||
/* Mock the esp-random to return 0 for easier result checking */
|
/* Mock the esp-random to return 0 for easier result checking */
|
||||||
uint32_t esp_random(void)
|
uint32_t esp_random(void)
|
||||||
|
|||||||
@@ -20,7 +20,7 @@ static int ap_cnt = 0;
|
|||||||
static int sta_cnt = 0;
|
static int sta_cnt = 0;
|
||||||
static u8_t ap_output_p_type_internal = (PBUF_TYPE_FLAG_STRUCT_DATA_CONTIGUOUS | PBUF_TYPE_ALLOC_SRC_MASK_STD_HEAP);
|
static u8_t ap_output_p_type_internal = (PBUF_TYPE_FLAG_STRUCT_DATA_CONTIGUOUS | PBUF_TYPE_ALLOC_SRC_MASK_STD_HEAP);
|
||||||
static u8_t sta_output_p_type_internal = (PBUF_TYPE_FLAG_STRUCT_DATA_CONTIGUOUS | PBUF_TYPE_ALLOC_SRC_MASK_STD_HEAP);
|
static u8_t sta_output_p_type_internal = (PBUF_TYPE_FLAG_STRUCT_DATA_CONTIGUOUS | PBUF_TYPE_ALLOC_SRC_MASK_STD_HEAP);
|
||||||
unsigned char packet_buffer[sizeof(struct ip6_hdr) + IP6_PAYLOAD_LEN];
|
static unsigned char packet_buffer[sizeof(struct ip6_hdr) + IP6_PAYLOAD_LEN];
|
||||||
|
|
||||||
/* Setups/teardown functions */
|
/* Setups/teardown functions */
|
||||||
static void
|
static void
|
||||||
|
|||||||
Reference in New Issue
Block a user