Skip to content
Snippets Groups Projects
Commit 0b29a896 authored by Nikita Kiryanov's avatar Nikita Kiryanov Committed by Anatolij Gustschin
Browse files

lcd: introduce lcd_set_cmap


Reduce the lcd_display_bitmap #ifdef complexity by extracting Atmel-specific
code for setting cmap for bitmap images into a new function lcd_set_cmap().
A default version is implemented with the remainder of the code.

Signed-off-by: default avatarNikita Kiryanov <nikita@compulab.co.il>
Reviewed-by: default avatarSimon Glass <sjg@chromium.org>
Tested-by: default avatarBo Shen <voice.shen@atmel.com>
Tested-by: default avatarJosh Wu <josh.wu@atmel.com>
Cc: Bo Shen <voice.shen@atmel.com>
Cc: Simon Glass <sjg@chromium.org>
Cc: Anatolij Gustschin <agust@denx.de>
parent 2306457c
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment