commit | d8b86cba3cd210976fd9dfc3551f185edfedbfb9 | [log] [tgz] |
---|---|---|
author | Peter Bigot <peter.bigot@nordicsemi.no> | Mon Jun 22 10:01:39 2020 -0500 |
committer | Carles CufĂ <carles.cufi@nordicsemi.no> | Tue Jun 23 13:27:14 2020 +0200 |
tree | a541aefa6880c60a8dd5bf1e4bcbbbfab4516318 | |
parent | a538dcd8f8db5758ffe89f58c63a821416369b6f [diff] |
device: add API to check whether a device is ready to use Currently this is useful only for some internal applications that iterate over the device table, since applications can't get access to a device that isn't ready, and devices can't be made unready. So it's introduced as internal API that may be exposed as device_ready() when those conditions change. Signed-off-by: Peter Bigot <peter.bigot@nordicsemi.no>