From 30e4b12c86bfa956dd6ad9041fbc543d3512981b Mon Sep 17 00:00:00 2001 From: Daniel Morais Date: Wed, 26 Jul 2023 14:41:56 +0200 Subject: [PATCH] Fix CI issues (Linter on C code) --- src/bolos/nbgl.c | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/src/bolos/nbgl.c b/src/bolos/nbgl.c index 48f2aad1..bcff82fb 100644 --- a/src/bolos/nbgl.c +++ b/src/bolos/nbgl.c @@ -150,7 +150,8 @@ unsigned long sys_nbgl_screen_reinit(void) uint8_t uncompress_rle_buffer[SCREEN_HEIGHT * SCREEN_WIDTH / 2]; -unsigned long sys_nbgl_front_draw_img_rle_legacy(nbgl_area_t *area, uint8_t *buffer, +unsigned long sys_nbgl_front_draw_img_rle_legacy(nbgl_area_t *area, + uint8_t *buffer, uint32_t buffer_len, color_t fore_color) { @@ -164,14 +165,17 @@ unsigned long sys_nbgl_front_draw_img_rle_legacy(nbgl_area_t *area, uint8_t *buf return 0; } -unsigned long sys_nbgl_front_draw_img_rle(nbgl_area_t *area, uint8_t *buffer, - uint32_t buffer_len, - color_t fore_color) +unsigned long sys_nbgl_front_draw_img_rle(nbgl_area_t *area, + uint8_t *buffer, + uint32_t buffer_len, + color_t fore_color) { - return sys_nbgl_front_draw_img_rle_next(area, buffer, buffer_len, fore_color, 0); + return sys_nbgl_front_draw_img_rle_next( + area, buffer, buffer_len, fore_color, 0); } -unsigned long sys_nbgl_front_draw_img_rle_next(nbgl_area_t *area, uint8_t *buffer, +unsigned long sys_nbgl_front_draw_img_rle_next(nbgl_area_t *area, + uint8_t *buffer, uint32_t buffer_len, color_t fore_color, uint8_t nb_skipped_bytes)