// // 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" }, { "SL3", "L1", "1" }, { "SL4", "L2", "2" }, { "JSx", "JSx", "X" }, { "JSy", "JSy", "Y" }, }; 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 << (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)) | ((potconfig_t)FLEX_SLIDER << (5 * POT_CFG_BITS)) | ((potconfig_t)FLEX_SLIDER << (6 * POT_CFG_BITS)) | ((potconfig_t)FLEX_AXIS_X << (7 * POT_CFG_BITS)) | ((potconfig_t)FLEX_AXIS_Y << (8 * POT_CFG_BITS)) ;