diff --git a/firmware/settings.c b/firmware/settings.c index db86ecb651..da69a9d254 100644 --- a/firmware/settings.c +++ b/firmware/settings.c @@ -24,6 +24,8 @@ #include "panic.h" #include "debug.h" +user_settings_t global_settings; + /* * persist all runtime user settings to disk */ @@ -97,8 +99,3 @@ void display_current_settings( user_settings_t *settings ) settings = settings; #endif } - - - - - diff --git a/firmware/settings.h b/firmware/settings.h index 935c611161..53b2b4738d 100644 --- a/firmware/settings.h +++ b/firmware/settings.h @@ -64,6 +64,9 @@ void reload_all_settings( user_settings_t *settings ); void reset_settings( user_settings_t *settings ); void display_current_settings( user_settings_t *settings ); +/* global settings */ +extern user_settings_t global_settings; + /* system defines */ #define DEFAULT_VOLUME_SETTING 70 @@ -78,6 +81,3 @@ void display_current_settings( user_settings_t *settings ); #endif /* __SETTINGS_H__ */ - - -