/*1* Copyright (c) 2018-2025 CTCaer2*3* This program is free software; you can redistribute it and/or modify it4* under the terms and conditions of the GNU General Public License,5* version 2, as published by the Free Software Foundation.6*7* This program is distributed in the hope it will be useful, but WITHOUT8* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or9* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for10* more details.11*12* You should have received a copy of the GNU General Public License13* along with this program. If not, see <http://www.gnu.org/licenses/>.14*/1516#include <string.h>17#include <stdlib.h>1819#include <bdk.h>2021#include "config.h"22#include <libs/fatfs/ff.h>2324void set_default_configuration()25{26h_cfg.t210b01 = hw_get_chip_id() == GP_HIDREV_MAJOR_T210B01;27h_cfg.devmode = fuse_read_hw_state();2829h_cfg.autoboot = 0;30h_cfg.autoboot_list = 0;31h_cfg.bootwait = 3;32h_cfg.noticker = 0; //! TODO: Add GUI option.33h_cfg.backlight = 100;34h_cfg.autohosoff = h_cfg.t210b01 ? 1 : 0;35h_cfg.autonogc = 1;36h_cfg.updater2p = 0;37h_cfg.bootprotect = 0;3839h_cfg.errors = 0;40h_cfg.eks = NULL;41h_cfg.rcm_patched = fuse_check_patched_rcm();42h_cfg.emummc_force_disable = false;43}444546