You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, the getCalibrationSettings() method returns a "shallow" copy of the registeredSensors variable. At the very least, this should be a true "deep" copy so that a caller cannot modify the internal state of the MyoProportional instance.
Proposed Solution
think about the best way to return calibration settings to the user.
fix appropriately
The text was updated successfully, but these errors were encountered:
Currently, the
getCalibrationSettings()
method returns a "shallow" copy of theregisteredSensors
variable. At the very least, this should be a true "deep" copy so that a caller cannot modify the internal state of theMyoProportional
instance.Proposed Solution
The text was updated successfully, but these errors were encountered: