// // 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", "S2", "2" }, { "SL1", "S3", "3" }, { "SL2", "S4", "4" }, { "SL3", "SL", "L" }, { "SL4", "SR", "R" }, }; 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_inputs_t _hal_inputs[] = { { 4, 0, _main_inputs }, { 6, 4, _flex_inputs }, { 1, 10, _vbat_inputs }, { 1, 11, _rtc_bat_inputs }, { 12, 0, nullptr }, }; constexpr potconfig_t _pot_default_config = (0) | ((potconfig_t)FLEX_POT_CENTER << (0 * POT_CFG_BITS)) | ((potconfig_t)FLEX_POT_CENTER << (1 * POT_CFG_BITS)) | ((potconfig_t)FLEX_SLIDER << (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)) ;