Merge pull request #4250 from Cacodemon345/patch-170

Fix brace warning
This commit is contained in:
Miran Grča
2024-03-12 20:39:12 +01:00
committed by GitHub

View File

@@ -102,7 +102,7 @@ static const device_config_t keycard_config[] = {
.default_int = 0, .default_int = 0,
.file_filter = "", .file_filter = "",
.spinner = { 0 }, .spinner = { 0 },
.selection = { 0 } .selection = { { 0 } }
}, },
{ .name = "", .description = "", .type = CONFIG_END } { .name = "", .description = "", .type = CONFIG_END }
// clang-format on // clang-format on
@@ -120,4 +120,4 @@ const device_t novell_keycard_device = {
.speed_changed = NULL, .speed_changed = NULL,
.force_redraw = NULL, .force_redraw = NULL,
.config = keycard_config .config = keycard_config
}; };