clean up device_config_t formatting

This commit is contained in:
Jasmine Iwanek
2022-02-26 23:31:28 -05:00
parent f4587949a7
commit 801f81fbda
61 changed files with 2679 additions and 4300 deletions

View File

@@ -327,36 +327,23 @@ void mda_speed_changed(void *p)
mda_recalctimings(mda);
}
static const device_config_t mda_config[] =
{
static const device_config_t mda_config[] = {
// clang-format off
{
"rgb_type", "Display type", CONFIG_SELECTION, "", 0, "", { 0 },
{
"rgb_type", "Display type", CONFIG_SELECTION, "", 0, "", { 0 },
{
{
"Default", 0
},
{
"Green", 1
},
{
"Amber", 2
},
{
"Gray", 3
},
{
""
}
}
},
{
"", "", -1
{ "Default", 0 },
{ "Green", 1 },
{ "Amber", 2 },
{ "Gray", 3 },
{ "" }
}
},
{ "", "", -1 }
// clang-format on
};
const device_t mda_device =
{
const device_t mda_device = {
"MDA",
"mda",
DEVICE_ISA, 0,
@@ -364,5 +351,5 @@ const device_t mda_device =
{ NULL },
mda_speed_changed,
NULL,
mda_config
mda_config
};