1
// config-mode.h: Config mode base functions for Anduril.
2
// Copyright (C) 2017-2023 Selene ToyKeeper
3
// SPDX-License-Identifier: GPL-3.0-or-later
7
// menus can use 2 colors
8
#if defined (CONFIG_WAITING_CHANNEL) || defined(CONFIG_BLINK_CHANNEL)
9
#define USE_CONFIG_COLORS
12
#if NUM_CHANNEL_MODES > 1
13
// when true, changes the channel mode for each config step
14
bool config_color_per_step = false;
18
uint8_t config_state_base(
21
uint8_t num_config_steps,
22
void (*savefunc)(uint8_t step, uint8_t value)