Skip to content
Commit 0d9da124 authored by Martí Bolívar's avatar Martí Bolívar Committed by Kumar Gala
Browse files

samples: mesh_demo: rework error and device handling



The board specific interface in this sample is not handling errors.
Fix that by making board_init() return a negative error code or zero.

Rework the bbc_microbit specific board file by handling errors
appropriately and avoiding device_get_binding() to move some device
configuration errors to build time.

Signed-off-by: default avatarMartí Bolívar <marti.bolivar@nordicsemi.no>
parent d36c6a99
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment