timeouts: Port BBC micro:bit to the new timeout API
Port the BBC micro:bit display driver to the new timeout API exposed by the kernel. Signed-off-by: Carles Cufi <carles.cufi@nordicsemi.no>
This commit is contained in:
parent
e052c7991c
commit
9b04a99243
10 changed files with 50 additions and 45 deletions
|
@ -124,7 +124,8 @@ struct mb_display *mb_display_get(void);
|
|||
*
|
||||
* @param disp Display object.
|
||||
* @param mode One of the MB_DISPLAY_MODE_* options.
|
||||
* @param duration Duration how long to show each image (in milliseconds).
|
||||
* @param duration Duration how long to show each image (in milliseconds), or
|
||||
* @ref SYS_FOREVER_MS.
|
||||
* @param img Array of image bitmaps (struct mb_image objects).
|
||||
* @param img_count Number of images in 'img' array.
|
||||
*/
|
||||
|
@ -143,7 +144,8 @@ void mb_display_image(struct mb_display *disp, u32_t mode, s32_t duration,
|
|||
*
|
||||
* @param disp Display object.
|
||||
* @param mode One of the MB_DISPLAY_MODE_* options.
|
||||
* @param duration Duration how long to show each character (in milliseconds).
|
||||
* @param duration Duration how long to show each character (in milliseconds),
|
||||
* or @ref SYS_FOREVER_MS.
|
||||
* @param fmt printf-style format string
|
||||
* @param ... Optional list of format arguments.
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue