diff options
author | Johan Hedberg <johan.hedberg@intel.com> | 2016-11-12 19:27:34 +0200 |
---|---|---|
committer | Johan Hedberg <johan.hedberg@intel.com> | 2016-11-12 19:27:34 +0200 |
commit | 1e20e8dc04d9b3eeb57759b00e724c0a447edf3e (patch) | |
tree | ff44c97f75fbe43b98942e7a3168e08cfca33d64 /samples/bluetooth | |
parent | 79f020be54e4049ef7b58eb643bb206dccd4a71f (diff) |
Bluetooth: Fix left-over usage of TICKS_NONE and TICKS_UNLIMITED
Switch left-over usage of TICKS_NONE and TICKS_UNLIMITED to the new
unified kernel counterparts K_NO_WAIT and K_FOREVER.
Change-Id: I2f2a16360e816f9f8791eb216deb3c70b8cc87df
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Diffstat (limited to 'samples/bluetooth')
-rw-r--r-- | samples/bluetooth/ipsp/src/main.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/samples/bluetooth/ipsp/src/main.c b/samples/bluetooth/ipsp/src/main.c index 8a1786044..5c6eb369c 100644 --- a/samples/bluetooth/ipsp/src/main.c +++ b/samples/bluetooth/ipsp/src/main.c @@ -106,7 +106,7 @@ static inline void receive_and_reply(struct net_context *recv, { struct net_buf *buf; - buf = net_receive(recv, TICKS_UNLIMITED); + buf = net_receive(recv, K_FOREVER); if (buf) { prepare_reply("unicast ", buf); @@ -116,7 +116,7 @@ static inline void receive_and_reply(struct net_context *recv, return; } - buf = net_receive(mcast_recv, TICKS_UNLIMITED); + buf = net_receive(mcast_recv, K_FOREVER); if (buf) { prepare_reply("multicast ", buf); |