disable dipsw by default

This commit is contained in:
2023-07-14 01:07:22 +02:00
parent e5d17b82b2
commit 600f795104
3 changed files with 2 additions and 2 deletions

View File

@ -327,7 +327,7 @@ void dipsw_config_load(struct dipsw_config *cfg, const wchar_t *filename)
assert(cfg != NULL);
assert(filename != NULL);
cfg->enable = GetPrivateProfileIntW(L"gpio", L"enable", 1, filename);
cfg->enable = GetPrivateProfileIntW(L"gpio", L"enable", 0, filename);
wcscpy_s(name, _countof(name), L"dipsw0");