Skip to content

Commit

Permalink
ux_layout: move typedef in .h
Browse files Browse the repository at this point in the history
  • Loading branch information
sgliner-ledger committed Feb 8, 2024
1 parent 6ef3ed0 commit 8e960ef
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 2 additions & 0 deletions lib_ux/src/ux_layout_common.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
* Common definition for factorized layouts
*/

typedef void (*ux_layout_paging_redisplay_t)(unsigned int stack_slot);

const bagl_element_t *ux_layout_bb_prepro(const bagl_element_t *element);
void ux_layout_bb_init_common(unsigned int stack_slot);

Expand Down
2 changes: 0 additions & 2 deletions lib_ux/src/ux_layout_paging.c
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,6 @@
*/
#define LINE_FONT BAGL_FONT_OPEN_SANS_REGULAR_11px

typedef void (*ux_layout_paging_redisplay_t)(unsigned int stack_slot);

#if (BAGL_WIDTH == 128 && BAGL_HEIGHT == 64)
// clang-format off
static const bagl_element_t ux_layout_paging_elements[] = {
Expand Down

0 comments on commit 8e960ef

Please sign in to comment.