Bluetooth: mesh: Convert bluetooth mesh to using k_timeout struct
Convert bluetooth mesh to using k_timeout struct. Many of the mesh modules uses timeout calculations, so it is most practical to keep the s32_t type and only initialize a k_timeout_t struct when calling the kernel. Signed-off-by: Joakim Andersson <joakim.andersson@nordicsemi.no>
This commit is contained in:
parent
d858264d9e
commit
87d9eadf50
20 changed files with 120 additions and 122 deletions
|
@ -93,7 +93,7 @@ struct prov_bearer {
|
|||
*
|
||||
* @return Zero on success, or (negative) error code otherwise.
|
||||
*/
|
||||
int (*link_open)(const u8_t uuid[16], s32_t timeout,
|
||||
int (*link_open)(const u8_t uuid[16], k_timeout_t timeout,
|
||||
const struct prov_bearer_cb *cb, void *cb_data);
|
||||
|
||||
/** @brief Close the current link.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue