Replace usages of tcpip_callback_with_block(foo, bar, 0) with tcpip_try_callback()

This commit is contained in:
Dirk Ziegelmeier
2017-06-22 08:14:02 +02:00
parent b4921dc401
commit d02a73c285
5 changed files with 6 additions and 6 deletions

View File

@@ -566,7 +566,7 @@ pbuf_free_int(void *p)
err_t
pbuf_free_callback(struct pbuf *p)
{
return tcpip_callback_with_block(pbuf_free_int, p, 0);
return tcpip_try_callback(pbuf_free_int, p);
}
/**
@@ -579,7 +579,7 @@ pbuf_free_callback(struct pbuf *p)
err_t
mem_free_callback(void *m)
{
return tcpip_callback_with_block(mem_free, m, 0);
return tcpip_try_callback(mem_free, m);
}
#endif /* !NO_SYS */