From a1442812271330388839e2ac9c22ac80452ba129 Mon Sep 17 00:00:00 2001 From: Kevin Day Date: Fri, 23 Dec 2022 18:38:20 -0600 Subject: [PATCH] Update: Use f_color_mode_not_e rather than f_color_mode_color_not_e. The second 'color' in f_color_mode_color_not_e is redundant and inconsistent with the other parameters. Remove it. --- level_0/f_color/c/color.c | 2 +- level_0/f_color/c/color.h | 2 +- level_0/f_color/c/color/common.h | 2 +- level_0/f_color/tests/unit/c/test-color-load_context.c | 4 ++-- level_2/fll_program/c/program.c | 2 +- level_3/byte_dump/c/byte_dump.c | 2 +- level_3/byte_dump/c/common.c | 2 +- level_3/control/c/common.c | 2 +- level_3/control/c/control.c | 2 +- level_3/controller/c/common.c | 2 +- level_3/controller/c/controller.c | 2 +- level_3/fake/c/common.c | 2 +- level_3/fake/c/fake.c | 2 +- level_3/fake/c/private-build.c | 2 +- level_3/fake/c/private-make-load_parameters.c | 2 +- level_3/firewall/c/common.c | 2 +- level_3/firewall/c/firewall.c | 2 +- level_3/fss_basic_list_read/c/common.c | 2 +- level_3/fss_basic_list_read/c/fss_basic_list_read.c | 2 +- level_3/fss_basic_read/c/common.c | 2 +- level_3/fss_basic_read/c/fss_basic_read.c | 2 +- level_3/fss_embedded_list_read/c/common.c | 2 +- level_3/fss_embedded_list_read/c/fss_embedded_list_read.c | 2 +- level_3/fss_extended_list_read/c/common.c | 2 +- level_3/fss_extended_list_read/c/fss_extended_list_read.c | 2 +- level_3/fss_extended_read/c/common.c | 2 +- level_3/fss_extended_read/c/fss_extended_read.c | 2 +- level_3/fss_identify/c/common.c | 2 +- level_3/fss_identify/c/fss_identify.c | 2 +- level_3/fss_payload_read/c/common.c | 2 +- level_3/fss_payload_read/c/fss_payload_read.c | 2 +- level_3/fss_write/c/main/common.c | 2 +- level_3/fss_write/c/main/print.c | 1 - level_3/iki_read/c/main/common.c | 2 +- level_3/iki_write/c/main/common.c | 2 +- level_3/status_code/c/main/common.c | 2 +- level_3/utf8/c/main/common.c | 2 +- 37 files changed, 37 insertions(+), 38 deletions(-) diff --git a/level_0/f_color/c/color.c b/level_0/f_color/c/color.c index 11279f9..080ecb4 100644 --- a/level_0/f_color/c/color.c +++ b/level_0/f_color/c/color.c @@ -13,7 +13,7 @@ extern "C" { context->mode = mode; - if (mode == f_color_mode_color_not_e) { + if (mode == f_color_mode_not_e) { macro_f_color_t_set_none(context->list); context->format.begin = f_string_empty_s; diff --git a/level_0/f_color/c/color.h b/level_0/f_color/c/color.h index 29a5606..14cdc08 100644 --- a/level_0/f_color/c/color.h +++ b/level_0/f_color/c/color.h @@ -39,7 +39,7 @@ extern "C" { * If you wish to use non-standard colors either redefine this function or don't use it. * * This only supports the following color modes: - * - f_color_mode_color_not_e + * - f_color_mode_not_e * - f_color_mode_dark_e * - f_color_mode_light_e * diff --git a/level_0/f_color/c/color/common.h b/level_0/f_color/c/color/common.h index eb360a5..1082136 100644 --- a/level_0/f_color/c/color/common.h +++ b/level_0/f_color/c/color/common.h @@ -398,7 +398,7 @@ extern "C" { #ifndef _di_f_color_mode_e_ enum { f_color_mode_none_e = 0, - f_color_mode_color_not_e, + f_color_mode_not_e, f_color_mode_dark_e, f_color_mode_light_e, }; // enum diff --git a/level_0/f_color/tests/unit/c/test-color-load_context.c b/level_0/f_color/tests/unit/c/test-color-load_context.c index 6ca7684..7a6f555 100644 --- a/level_0/f_color/tests/unit/c/test-color-load_context.c +++ b/level_0/f_color/tests/unit/c/test-color-load_context.c @@ -27,7 +27,7 @@ void test__f_color_load_context__works(void **state) { uint8_t modes[4] = { f_color_mode_none_e, - f_color_mode_color_not_e, + f_color_mode_not_e, f_color_mode_dark_e, f_color_mode_light_e, }; @@ -58,7 +58,7 @@ void test__f_color_load_context__works(void **state) { assert_int_equal(status, statuss[j]); - if (modes[j] == f_color_mode_color_not_e) { + if (modes[j] == f_color_mode_not_e) { assert_ptr_equal(context.set.reset.before, &f_string_empty_s); assert_ptr_equal(context.set.reset.after, &f_string_empty_s); diff --git a/level_2/fll_program/c/program.c b/level_2/fll_program/c/program.c index 37ff9d1..0342de4 100644 --- a/level_2/fll_program/c/program.c +++ b/level_2/fll_program/c/program.c @@ -35,7 +35,7 @@ extern "C" { } } else { - main->context.mode = f_color_mode_color_not_e; + main->context.mode = f_color_mode_not_e; } } diff --git a/level_3/byte_dump/c/byte_dump.c b/level_3/byte_dump/c/byte_dump.c index 45eac35..4f6ee42 100644 --- a/level_3/byte_dump/c/byte_dump.c +++ b/level_3/byte_dump/c/byte_dump.c @@ -25,7 +25,7 @@ extern "C" { choices.array = choices_array; choices.used = 3; - const uint8_t modes[3] = { f_color_mode_color_not_e, f_color_mode_light_e, f_color_mode_dark_e }; + const uint8_t modes[3] = { f_color_mode_not_e, f_color_mode_light_e, f_color_mode_dark_e }; status = fll_program_parameter_process_context(choices, modes, F_true, main); diff --git a/level_3/byte_dump/c/common.c b/level_3/byte_dump/c/common.c index 1d14f56..223df58 100644 --- a/level_3/byte_dump/c/common.c +++ b/level_3/byte_dump/c/common.c @@ -104,7 +104,7 @@ extern "C" { choices.array = choices_array; choices.used = 3; - const uint8_t modes[3] = { f_color_mode_color_not_e, f_color_mode_light_e, f_color_mode_dark_e }; + const uint8_t modes[3] = { f_color_mode_not_e, f_color_mode_light_e, f_color_mode_dark_e }; setting->status = fll_program_parameter_process_context(choices, modes, F_true, main); diff --git a/level_3/control/c/common.c b/level_3/control/c/common.c index 8c5ae9e..9cbbbb5 100644 --- a/level_3/control/c/common.c +++ b/level_3/control/c/common.c @@ -207,7 +207,7 @@ extern "C" { choices.array = choices_array; choices.used = 3; - const uint8_t modes[3] = { f_color_mode_color_not_e, f_color_mode_light_e, f_color_mode_dark_e }; + const uint8_t modes[3] = { f_color_mode_not_e, f_color_mode_light_e, f_color_mode_dark_e }; setting->status = fll_program_parameter_process_context(choices, modes, F_true, main); diff --git a/level_3/control/c/control.c b/level_3/control/c/control.c index 41e66ac..387e5b3 100644 --- a/level_3/control/c/control.c +++ b/level_3/control/c/control.c @@ -26,7 +26,7 @@ extern "C" { choices.array = choices_array; choices.used = 3; - const uint8_t modes[3] = { f_color_mode_color_not_e, f_color_mode_light_e, f_color_mode_dark_e }; + const uint8_t modes[3] = { f_color_mode_not_e, f_color_mode_light_e, f_color_mode_dark_e }; status = fll_program_parameter_process_context(choices, modes, F_true, main); diff --git a/level_3/controller/c/common.c b/level_3/controller/c/common.c index dd09a31..29d61fe 100644 --- a/level_3/controller/c/common.c +++ b/level_3/controller/c/common.c @@ -639,7 +639,7 @@ extern "C" { choices.array = choices_array; choices.used = 3; - const uint8_t modes[3] = { f_color_mode_color_not_e, f_color_mode_light_e, f_color_mode_dark_e }; + const uint8_t modes[3] = { f_color_mode_not_e, f_color_mode_light_e, f_color_mode_dark_e }; setting->status = fll_program_parameter_process_context(choices, modes, F_true, main); diff --git a/level_3/controller/c/controller.c b/level_3/controller/c/controller.c index bf1a193..00dc115 100644 --- a/level_3/controller/c/controller.c +++ b/level_3/controller/c/controller.c @@ -31,7 +31,7 @@ extern "C" { choices.array = choices_array; choices.used = 3; - const uint8_t modes[3] = { f_color_mode_color_not_e, f_color_mode_light_e, f_color_mode_dark_e }; + const uint8_t modes[3] = { f_color_mode_not_e, f_color_mode_light_e, f_color_mode_dark_e }; status = fll_program_parameter_process_context(choices, modes, F_true, main); diff --git a/level_3/fake/c/common.c b/level_3/fake/c/common.c index 84b220b..3647245 100644 --- a/level_3/fake/c/common.c +++ b/level_3/fake/c/common.c @@ -149,7 +149,7 @@ extern "C" { choices.array = choices_array; choices.used = 3; - const uint8_t modes[3] = { f_color_mode_color_not_e, f_color_mode_light_e, f_color_mode_dark_e }; + const uint8_t modes[3] = { f_color_mode_not_e, f_color_mode_light_e, f_color_mode_dark_e }; setting->status = fll_program_parameter_process_context(choices, modes, F_true, main); diff --git a/level_3/fake/c/fake.c b/level_3/fake/c/fake.c index 341b550..fee309a 100644 --- a/level_3/fake/c/fake.c +++ b/level_3/fake/c/fake.c @@ -32,7 +32,7 @@ extern "C" { choices.array = choices_array; choices.used = 3; - const uint8_t modes[3] = { f_color_mode_color_not_e, f_color_mode_light_e, f_color_mode_dark_e }; + const uint8_t modes[3] = { f_color_mode_not_e, f_color_mode_light_e, f_color_mode_dark_e }; status = fll_program_parameter_process_context(choices, modes, F_true, main); diff --git a/level_3/fake/c/private-build.c b/level_3/fake/c/private-build.c index a1eefb4..2f44772 100644 --- a/level_3/fake/c/private-build.c +++ b/level_3/fake/c/private-build.c @@ -576,7 +576,7 @@ extern "C" { else if (data->main->context.mode == f_color_mode_light_e) { memcpy(argument_string + f_console_symbol_short_inverse_s.used, f_console_standard_short_light_s.string, sizeof(f_char_t) * f_console_standard_short_light_s.used); } - else if (data->main->context.mode == f_color_mode_color_not_e) { + else if (data->main->context.mode == f_color_mode_not_e) { memcpy(argument_string + f_console_symbol_short_inverse_s.used, f_console_standard_short_no_color_s.string, sizeof(f_char_t) * f_console_standard_short_no_color_s.used); } diff --git a/level_3/fake/c/private-make-load_parameters.c b/level_3/fake/c/private-make-load_parameters.c index 689e94d..25d5b7a 100644 --- a/level_3/fake/c/private-make-load_parameters.c +++ b/level_3/fake/c/private-make-load_parameters.c @@ -24,7 +24,7 @@ extern "C" { return; } - if (data_make->main->context.mode == f_color_mode_color_not_e) { + if (data_make->main->context.mode == f_color_mode_not_e) { if (data_make->main->parameters.array[fake_parameter_no_color_e].flag & f_console_flag_normal_e) { *status = f_string_dynamic_append(f_console_symbol_short_normal_s, &data_make->parameter.color.array[data_make->parameter.color.used]); } diff --git a/level_3/firewall/c/common.c b/level_3/firewall/c/common.c index cbfc3df..22c3b9b 100644 --- a/level_3/firewall/c/common.c +++ b/level_3/firewall/c/common.c @@ -140,7 +140,7 @@ extern "C" { choices.array = choices_array; choices.used = 3; - const uint8_t modes[3] = { f_color_mode_color_not_e, f_color_mode_light_e, f_color_mode_dark_e }; + const uint8_t modes[3] = { f_color_mode_not_e, f_color_mode_light_e, f_color_mode_dark_e }; setting->status = fll_program_parameter_process_context(choices, modes, F_true, main); diff --git a/level_3/firewall/c/firewall.c b/level_3/firewall/c/firewall.c index 340cfa5..4cdc0d6 100644 --- a/level_3/firewall/c/firewall.c +++ b/level_3/firewall/c/firewall.c @@ -33,7 +33,7 @@ extern "C" { choices.array = choices_array; choices.used = 3; - const uint8_t modes[3] = { f_color_mode_color_not_e, f_color_mode_light_e, f_color_mode_dark_e }; + const uint8_t modes[3] = { f_color_mode_not_e, f_color_mode_light_e, f_color_mode_dark_e }; status = fll_program_parameter_process_context(choices, modes, F_true, main); diff --git a/level_3/fss_basic_list_read/c/common.c b/level_3/fss_basic_list_read/c/common.c index aaedcf4..a0b6675 100644 --- a/level_3/fss_basic_list_read/c/common.c +++ b/level_3/fss_basic_list_read/c/common.c @@ -98,7 +98,7 @@ extern "C" { choices.array = choices_array; choices.used = 3; - const uint8_t modes[3] = { f_color_mode_color_not_e, f_color_mode_light_e, f_color_mode_dark_e }; + const uint8_t modes[3] = { f_color_mode_not_e, f_color_mode_light_e, f_color_mode_dark_e }; setting->status = fll_program_parameter_process_context(choices, modes, F_true, main); diff --git a/level_3/fss_basic_list_read/c/fss_basic_list_read.c b/level_3/fss_basic_list_read/c/fss_basic_list_read.c index 073ca6c..4e67ee5 100644 --- a/level_3/fss_basic_list_read/c/fss_basic_list_read.c +++ b/level_3/fss_basic_list_read/c/fss_basic_list_read.c @@ -26,7 +26,7 @@ extern "C" { choices.array = choices_array; choices.used = 3; - const uint8_t modes[3] = { f_color_mode_color_not_e, f_color_mode_light_e, f_color_mode_dark_e }; + const uint8_t modes[3] = { f_color_mode_not_e, f_color_mode_light_e, f_color_mode_dark_e }; status = fll_program_parameter_process_context(choices, modes, F_true, main); diff --git a/level_3/fss_basic_read/c/common.c b/level_3/fss_basic_read/c/common.c index dcefd29..62e529c 100644 --- a/level_3/fss_basic_read/c/common.c +++ b/level_3/fss_basic_read/c/common.c @@ -97,7 +97,7 @@ extern "C" { choices.array = choices_array; choices.used = 3; - const uint8_t modes[3] = { f_color_mode_color_not_e, f_color_mode_light_e, f_color_mode_dark_e }; + const uint8_t modes[3] = { f_color_mode_not_e, f_color_mode_light_e, f_color_mode_dark_e }; setting->status = fll_program_parameter_process_context(choices, modes, F_true, main); diff --git a/level_3/fss_basic_read/c/fss_basic_read.c b/level_3/fss_basic_read/c/fss_basic_read.c index 6ffd56f..27d0b8c 100644 --- a/level_3/fss_basic_read/c/fss_basic_read.c +++ b/level_3/fss_basic_read/c/fss_basic_read.c @@ -26,7 +26,7 @@ extern "C" { choices.array = choices_array; choices.used = 3; - const uint8_t modes[3] = { f_color_mode_color_not_e, f_color_mode_light_e, f_color_mode_dark_e }; + const uint8_t modes[3] = { f_color_mode_not_e, f_color_mode_light_e, f_color_mode_dark_e }; status = fll_program_parameter_process_context(choices, modes, F_true, main); diff --git a/level_3/fss_embedded_list_read/c/common.c b/level_3/fss_embedded_list_read/c/common.c index 75db20d..3a22cea 100644 --- a/level_3/fss_embedded_list_read/c/common.c +++ b/level_3/fss_embedded_list_read/c/common.c @@ -96,7 +96,7 @@ extern "C" { choices.array = choices_array; choices.used = 3; - const uint8_t modes[3] = { f_color_mode_color_not_e, f_color_mode_light_e, f_color_mode_dark_e }; + const uint8_t modes[3] = { f_color_mode_not_e, f_color_mode_light_e, f_color_mode_dark_e }; setting->status = fll_program_parameter_process_context(choices, modes, F_true, main); diff --git a/level_3/fss_embedded_list_read/c/fss_embedded_list_read.c b/level_3/fss_embedded_list_read/c/fss_embedded_list_read.c index 5dbbd7b..9858565 100644 --- a/level_3/fss_embedded_list_read/c/fss_embedded_list_read.c +++ b/level_3/fss_embedded_list_read/c/fss_embedded_list_read.c @@ -26,7 +26,7 @@ extern "C" { choices.array = choices_array; choices.used = 3; - const uint8_t modes[3] = { f_color_mode_color_not_e, f_color_mode_light_e, f_color_mode_dark_e }; + const uint8_t modes[3] = { f_color_mode_not_e, f_color_mode_light_e, f_color_mode_dark_e }; status = fll_program_parameter_process_context(choices, modes, F_true, main); diff --git a/level_3/fss_extended_list_read/c/common.c b/level_3/fss_extended_list_read/c/common.c index a58d3f7..fe6aa5e 100644 --- a/level_3/fss_extended_list_read/c/common.c +++ b/level_3/fss_extended_list_read/c/common.c @@ -104,7 +104,7 @@ extern "C" { choices.array = choices_array; choices.used = 3; - const uint8_t modes[3] = { f_color_mode_color_not_e, f_color_mode_light_e, f_color_mode_dark_e }; + const uint8_t modes[3] = { f_color_mode_not_e, f_color_mode_light_e, f_color_mode_dark_e }; setting->status = fll_program_parameter_process_context(choices, modes, F_true, main); diff --git a/level_3/fss_extended_list_read/c/fss_extended_list_read.c b/level_3/fss_extended_list_read/c/fss_extended_list_read.c index d7100c6..474eb19 100644 --- a/level_3/fss_extended_list_read/c/fss_extended_list_read.c +++ b/level_3/fss_extended_list_read/c/fss_extended_list_read.c @@ -26,7 +26,7 @@ extern "C" { choices.array = choices_array; choices.used = 3; - const uint8_t modes[3] = { f_color_mode_color_not_e, f_color_mode_light_e, f_color_mode_dark_e }; + const uint8_t modes[3] = { f_color_mode_not_e, f_color_mode_light_e, f_color_mode_dark_e }; status = fll_program_parameter_process_context(choices, modes, F_true, main); diff --git a/level_3/fss_extended_read/c/common.c b/level_3/fss_extended_read/c/common.c index 66048fe..13a0d14 100644 --- a/level_3/fss_extended_read/c/common.c +++ b/level_3/fss_extended_read/c/common.c @@ -97,7 +97,7 @@ extern "C" { choices.array = choices_array; choices.used = 3; - const uint8_t modes[3] = { f_color_mode_color_not_e, f_color_mode_light_e, f_color_mode_dark_e }; + const uint8_t modes[3] = { f_color_mode_not_e, f_color_mode_light_e, f_color_mode_dark_e }; setting->status = fll_program_parameter_process_context(choices, modes, F_true, main); diff --git a/level_3/fss_extended_read/c/fss_extended_read.c b/level_3/fss_extended_read/c/fss_extended_read.c index ddcc0d3..0eac24c 100644 --- a/level_3/fss_extended_read/c/fss_extended_read.c +++ b/level_3/fss_extended_read/c/fss_extended_read.c @@ -26,7 +26,7 @@ extern "C" { choices.array = choices_array; choices.used = 3; - const uint8_t modes[3] = { f_color_mode_color_not_e, f_color_mode_light_e, f_color_mode_dark_e }; + const uint8_t modes[3] = { f_color_mode_not_e, f_color_mode_light_e, f_color_mode_dark_e }; status = fll_program_parameter_process_context(choices, modes, F_true, main); diff --git a/level_3/fss_identify/c/common.c b/level_3/fss_identify/c/common.c index 89a5c5b..1a305cb 100644 --- a/level_3/fss_identify/c/common.c +++ b/level_3/fss_identify/c/common.c @@ -64,7 +64,7 @@ extern "C" { choices.array = choices_array; choices.used = 3; - const uint8_t modes[3] = { f_color_mode_color_not_e, f_color_mode_light_e, f_color_mode_dark_e }; + const uint8_t modes[3] = { f_color_mode_not_e, f_color_mode_light_e, f_color_mode_dark_e }; setting->status = fll_program_parameter_process_context(choices, modes, F_true, main); diff --git a/level_3/fss_identify/c/fss_identify.c b/level_3/fss_identify/c/fss_identify.c index 34f830c..395d36b 100644 --- a/level_3/fss_identify/c/fss_identify.c +++ b/level_3/fss_identify/c/fss_identify.c @@ -25,7 +25,7 @@ extern "C" { choices.array = choices_array; choices.used = 3; - const uint8_t modes[3] = { f_color_mode_color_not_e, f_color_mode_light_e, f_color_mode_dark_e }; + const uint8_t modes[3] = { f_color_mode_not_e, f_color_mode_light_e, f_color_mode_dark_e }; status = fll_program_parameter_process_context(choices, modes, F_true, main); diff --git a/level_3/fss_payload_read/c/common.c b/level_3/fss_payload_read/c/common.c index c5d93b6..6178370 100644 --- a/level_3/fss_payload_read/c/common.c +++ b/level_3/fss_payload_read/c/common.c @@ -98,7 +98,7 @@ extern "C" { choices.array = choices_array; choices.used = 3; - const uint8_t modes[3] = { f_color_mode_color_not_e, f_color_mode_light_e, f_color_mode_dark_e }; + const uint8_t modes[3] = { f_color_mode_not_e, f_color_mode_light_e, f_color_mode_dark_e }; setting->status = fll_program_parameter_process_context(choices, modes, F_true, main); diff --git a/level_3/fss_payload_read/c/fss_payload_read.c b/level_3/fss_payload_read/c/fss_payload_read.c index 105460a..f20813f 100644 --- a/level_3/fss_payload_read/c/fss_payload_read.c +++ b/level_3/fss_payload_read/c/fss_payload_read.c @@ -26,7 +26,7 @@ extern "C" { choices.array = choices_array; choices.used = 3; - const uint8_t modes[3] = { f_color_mode_color_not_e, f_color_mode_light_e, f_color_mode_dark_e }; + const uint8_t modes[3] = { f_color_mode_not_e, f_color_mode_light_e, f_color_mode_dark_e }; status = fll_program_parameter_process_context(choices, modes, F_true, main); diff --git a/level_3/fss_write/c/main/common.c b/level_3/fss_write/c/main/common.c index 4879438..a110f3c 100644 --- a/level_3/fss_write/c/main/common.c +++ b/level_3/fss_write/c/main/common.c @@ -97,7 +97,7 @@ extern "C" { choices.array = choices_array; choices.used = 3; - const uint8_t modes[3] = { f_color_mode_color_not_e, f_color_mode_light_e, f_color_mode_dark_e }; + const uint8_t modes[3] = { f_color_mode_not_e, f_color_mode_light_e, f_color_mode_dark_e }; setting->status = fll_program_parameter_process_context(choices, modes, F_true, main); diff --git a/level_3/fss_write/c/main/print.c b/level_3/fss_write/c/main/print.c index 1c98134..eeceb28 100644 --- a/level_3/fss_write/c/main/print.c +++ b/level_3/fss_write/c/main/print.c @@ -160,7 +160,6 @@ extern "C" { fl_print_format(" For the pipe, an Object is terminated by either a Backspace character '%[\\b%]' (%[U+0008%])", print.to, print.set->notable, print.set->notable, print.set->notable, print.set->notable); fl_print_format(" or a Form Feed character '%[\\f%]' (%[U+000C%]).%r", print.to, print.set->notable, print.set->notable, print.set->notable, print.set->notable, f_string_eol_s); fl_print_format(" The end of the pipe represents the end of any Object or Content.%r", print.to, f_string_eol_s); - } #endif // _di_fss_write_print_help_pipe_ diff --git a/level_3/iki_read/c/main/common.c b/level_3/iki_read/c/main/common.c index 2903f9e..205efeb 100644 --- a/level_3/iki_read/c/main/common.c +++ b/level_3/iki_read/c/main/common.c @@ -100,7 +100,7 @@ extern "C" { choices.array = choices_array; choices.used = 3; - const uint8_t modes[3] = { f_color_mode_color_not_e, f_color_mode_light_e, f_color_mode_dark_e }; + const uint8_t modes[3] = { f_color_mode_not_e, f_color_mode_light_e, f_color_mode_dark_e }; setting->status = fll_program_parameter_process_context(choices, modes, F_true, main); diff --git a/level_3/iki_write/c/main/common.c b/level_3/iki_write/c/main/common.c index 8a9d1f6..af83905 100644 --- a/level_3/iki_write/c/main/common.c +++ b/level_3/iki_write/c/main/common.c @@ -76,7 +76,7 @@ extern "C" { choices.array = choices_array; choices.used = 3; - const uint8_t modes[3] = { f_color_mode_color_not_e, f_color_mode_light_e, f_color_mode_dark_e }; + const uint8_t modes[3] = { f_color_mode_not_e, f_color_mode_light_e, f_color_mode_dark_e }; setting->status = fll_program_parameter_process_context(choices, modes, F_true, main); diff --git a/level_3/status_code/c/main/common.c b/level_3/status_code/c/main/common.c index a7a7529..8e05fe6 100644 --- a/level_3/status_code/c/main/common.c +++ b/level_3/status_code/c/main/common.c @@ -72,7 +72,7 @@ extern "C" { choices.array = choices_array; choices.used = 3; - const uint8_t modes[3] = { f_color_mode_color_not_e, f_color_mode_light_e, f_color_mode_dark_e }; + const uint8_t modes[3] = { f_color_mode_not_e, f_color_mode_light_e, f_color_mode_dark_e }; setting->status = fll_program_parameter_process_context(choices, modes, F_true, main); diff --git a/level_3/utf8/c/main/common.c b/level_3/utf8/c/main/common.c index b763aa0..6f5653b 100644 --- a/level_3/utf8/c/main/common.c +++ b/level_3/utf8/c/main/common.c @@ -113,7 +113,7 @@ extern "C" { choices.array = choices_array; choices.used = 3; - const uint8_t modes[3] = { f_color_mode_color_not_e, f_color_mode_light_e, f_color_mode_dark_e }; + const uint8_t modes[3] = { f_color_mode_not_e, f_color_mode_light_e, f_color_mode_dark_e }; setting->status = fll_program_parameter_process_context(choices, modes, F_true, main); -- 1.8.3.1