config: move externs into header

This commit is contained in:
CTCaer
2025-08-08 15:03:56 +03:00
parent 081f8b9664
commit 2ea496d9d1
21 changed files with 7 additions and 37 deletions

View File

@@ -30,8 +30,6 @@
#include "../config.h"
#include <libs/fatfs/ff.h>
extern hekate_config h_cfg;
extern nyx_config n_cfg;
extern volatile boot_cfg_t *b_cfg;
extern volatile nyx_storage_t *nyx_str;

View File

@@ -29,7 +29,6 @@
#include <libs/fatfs/ff.h>
extern boot_cfg_t b_cfg;
extern hekate_config h_cfg;
extern char *emmcsn_path_impl(char *path, char *sub_dir, char *filename, sdmmc_storage_t *storage);

View File

@@ -28,7 +28,6 @@
#define SECTORS_TO_MIB_COEFF 11
extern hekate_config h_cfg;
extern volatile boot_cfg_t *b_cfg;
extern volatile nyx_storage_t *nyx_str;

View File

@@ -28,9 +28,6 @@
#define CLOCK_MAX_YEAR (CLOCK_MIN_YEAR + 10)
#define CLOCK_YEARLIST "2025\n2026\n2027\n2028\n2029\n2030\n2031\n2032\n2033\n2034\n2035"
extern hekate_config h_cfg;
extern nyx_config n_cfg;
static lv_obj_t *autoboot_btn;
static bool autoboot_first_time = true;

View File

@@ -31,8 +31,6 @@
#include <libs/fatfs/ff.h>
extern volatile boot_cfg_t *b_cfg;
extern hekate_config h_cfg;
extern nyx_config n_cfg;
lv_obj_t *ums_mbox;