File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
RFSoC2x2/rfsoc_ofdm/drivers
ZCU111/rfsoc_ofdm/drivers Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -161,15 +161,15 @@ def on_rx_carrier_change(self, change):
161161 self .adc_tile .SetupFIFO (True )
162162
163163 def carrier_frequency (self ):
164- self .tx_carrier_ipw = ipw .FloatText (
164+ self .tx_carrier_ipw = ipw .BoundedFloatText (
165165 min = 1536 ,
166166 max = 3072 ,
167167 value = self .fc ,
168168 description = 'Tx Carrier (MHz):' ,
169169 disabled = False ,
170170 style = {'description_width' : 'initial' }
171171 )
172- self .rx_carrier_ipw = ipw .FloatText (
172+ self .rx_carrier_ipw = ipw .BoundedFloatText (
173173 min = 1536 ,
174174 max = 3072 ,
175175 value = self .fc ,
Original file line number Diff line number Diff line change @@ -132,15 +132,15 @@ def on_rx_carrier_change(self, change):
132132 self .adc_tile .SetupFIFO (True )
133133
134134 def carrier_frequency (self ):
135- self .tx_carrier_ipw = ipw .FloatText (
135+ self .tx_carrier_ipw = ipw .BoundedFloatText (
136136 min = 1536 ,
137137 max = 3072 ,
138138 value = self .fc ,
139139 description = 'Tx Carrier (MHz):' ,
140140 disabled = False ,
141141 style = {'description_width' : 'initial' }
142142 )
143- self .rx_carrier_ipw = ipw .FloatText (
143+ self .rx_carrier_ipw = ipw .BoundedFloatText (
144144 min = 1536 ,
145145 max = 3072 ,
146146 value = self .fc ,
You can’t perform that action at this time.
0 commit comments