// // WARNING: DO NOT EDIT THIS FILE // This file has been generated from the target's JSON hardware description // static const etx_hal_adc_input_t _main_inputs[] = { { "LH", "Rud", STR_STICK_NAMES0 }, { "LV", "Ele", STR_STICK_NAMES1 }, { "RV", "Thr", STR_STICK_NAMES2 }, { "RH", "Ail", STR_STICK_NAMES3 }, }; static const etx_hal_adc_input_t _flex_inputs[] = { { "P1", "S1", "1" }, { "P2", "6POS", "3" }, { "P3", "S2", "2" }, { "SL1", "LS", "L" }, { "SL2", "RS", "R" }, { "EXT1", "EXT1", "E1" }, { "EXT2", "EXT2", "E2" }, { "EXT3", "EXT3", "E3" }, { "EXT4", "EXT4", "E4" }, }; static const etx_hal_adc_input_t _raw_inputs[] = { }; static const etx_hal_adc_input_t _vbat_inputs[] = { { "VBAT", nullptr, nullptr }, }; static const etx_hal_adc_input_t _rtc_bat_inputs[] = { { "RTC_BAT", nullptr, nullptr }, }; static const etx_hal_adc_input_t _lux_inputs[] = { }; static const etx_hal_adc_inputs_t _hal_inputs[] = { { 4, 0, _main_inputs }, { 9, 4, _flex_inputs }, { 1, 13, _vbat_inputs }, { 1, 14, _rtc_bat_inputs }, { 0, 15, _lux_inputs }, { 15, 0, nullptr }, }; constexpr potconfig_t _pot_default_config = (0) | ((potconfig_t)FLEX_POT_CENTER << (0 * POT_CFG_BITS)) | ((potconfig_t)FLEX_MULTIPOS << (1 * POT_CFG_BITS)) | ((potconfig_t)FLEX_POT_CENTER << (2 * POT_CFG_BITS)) | ((potconfig_t)FLEX_SLIDER << (3 * POT_CFG_BITS)) | ((potconfig_t)FLEX_SLIDER << (4 * POT_CFG_BITS)) ;