tests: net: udp: Fix timeout value type

Convert to use k_timeout_t

Signed-off-by: Jukka Rissanen <jukka.rissanen@linux.intel.com>
This commit is contained in:
Jukka Rissanen 2020-04-06 15:27:29 +03:00
commit 19d7031d15
2 changed files with 2 additions and 2 deletions

View file

@ -757,7 +757,7 @@ static struct net_linkaddr server_link_addr = {
#define MY_IPV6_ADDR "2001:db8:100::1" #define MY_IPV6_ADDR "2001:db8:100::1"
#define PEER_IPV6_ADDR "2001:db8:100::2" #define PEER_IPV6_ADDR "2001:db8:100::2"
#define TEST_TXTIME 0xff112233445566ff #define TEST_TXTIME 0xff112233445566ff
#define WAIT_TIME 250 #define WAIT_TIME K_MSEC(250)
static void eth_fake_iface_init(struct net_if *iface) static void eth_fake_iface_init(struct net_if *iface)
{ {

View file

@ -225,7 +225,7 @@ u8_t ipv6_hop_by_hop_ext_hdr[] = {
0x3E, 0x3F, 0x40, 0x41, 0x42, 0x43, 0x44, 0x45, 0x3E, 0x3F, 0x40, 0x41, 0x42, 0x43, 0x44, 0x45,
}; };
#define TIMEOUT 200 #define TIMEOUT K_MSEC(200)
static bool send_ipv6_udp_msg(struct net_if *iface, static bool send_ipv6_udp_msg(struct net_if *iface,
struct in6_addr *src, struct in6_addr *src,