¿ªÔÆÌåÓý

ctrl + shift + ? for shortcuts
© 2025 Groups.io

Re: Quisk Version 4.2.19 May 2023


 

A more elegant solution In the quisk.py.
In the first place:

self.sample_rate = Hardware.VarDecimSet() # Get the sample rate.
# ------------------------------------------------------------------------------------------------------added
abc = round(self.sample_rate / 1000)
self.sample_rate = abc * 1000
# ------------------------------------------------------------------------------------------------------------
self.vardecim_set = self.sample_rate

And in the second place:

rate = Hardware.VarDecimSet(i)
# ------------------------------------------------------------------------------------------------------added
abc = round(rate / 1000)
rate = abc * 1000
# ------------------------------------------------------------------------------------------------------------
self.vardecim_set = rate

Join [email protected] to automatically receive all group messages.