From 6596ba0f77794b477510f9d3e1809e96caf94c2d Mon Sep 17 00:00:00 2001 From: Egor Savkin Date: Wed, 1 Nov 2023 15:41:53 +0800 Subject: [PATCH] Add termination choices to stabilizer Signed-off-by: Egor Savkin --- static/js/shop_data.js | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/static/js/shop_data.js b/static/js/shop_data.js index 0e8cc1f..b57c163 100644 --- a/static/js/shop_data.js +++ b/static/js/shop_data.js @@ -1032,7 +1032,9 @@ const shop_data = { 'Can be controlled by Kasli or work stand-alone with PoE supply.' ], options: [ - {type: "Switch", args: {title: "Ext power", outvar: "ext_pwr", "tip": "Use external power supply in order to reduce number of used EEM connectors"}} + {type: "Switch", args: {title: "Ext power", outvar: "ext_pwr", "tip": "Use external power supply in order to reduce number of used EEM connectors"}}, + {type: "Switch", args: {title: "Term #0", outvar: "term_0", tip: "Enable termination on ADC channel #0"}}, + {type: "Switch", args: {title: "Term #1", outvar: "term_1", tip: "Enable termination on ADC channel #1"}} ], options_class: "stabilizer", size: 'small', @@ -1184,7 +1186,9 @@ const shop_data = { ], options: [ {type: "Switch", args: {title: "Ext power", outvar: "ext_pwr", "tip": "Use external power supply in order to reduce number of used EEM connectors"}}, - {type: "SwitchLine", args: {title: "Ext CLK", outvar: "ext_clk", fallback: {text: "125 MHz", checked: false}}} + {type: "SwitchLine", args: {title: "Ext CLK", outvar: "ext_clk", fallback: {text: "125 MHz", checked: false}}}, + {type: "Switch", args: {title: "Termination #0", outvar: "term_0", tip: "Enable termination on ADC channel #0"}}, + {type: "Switch", args: {title: "Termination #1", outvar: "term_1", tip: "Enable termination on ADC channel #1"}} ], size: 'big', type: null,