Skip to content

Commit

Permalink
Fix CI issues (Linter on C code)
Browse files Browse the repository at this point in the history
  • Loading branch information
dmorais-ledger committed Jul 26, 2023
1 parent 86cf2ba commit 30e4b12
Showing 1 changed file with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions src/bolos/nbgl.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand All @@ -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)
Expand Down

0 comments on commit 30e4b12

Please sign in to comment.