Skip to content

Commit

Permalink
Always declare function os_setting_update()
Browse files Browse the repository at this point in the history
regardless of HAVE_LANGUAGE_PACK flag
  • Loading branch information
yrichard-ledger committed Nov 7, 2023
1 parent e54fb1b commit e205812
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/os_settings.h
Original file line number Diff line number Diff line change
Expand Up @@ -138,10 +138,10 @@ SYSCALL PERMISSION(APPLICATION_FLAG_BOLOS_SETTINGS) void os_setting_set(unsigned
PLENGTH(length),
unsigned int length);

#ifdef HAVE_LANGUAGE_PACK
// Shift preferences settings (could be needed after an update)
void os_setting_update(void);

#ifdef HAVE_LANGUAGE_PACK
// Prototypes for language helper functions
unsigned int os_setting_get_language(void);
void os_setting_set_language(unsigned int language);
Expand Down

0 comments on commit e205812

Please sign in to comment.