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
If the SDK is working correctly but zero devices were found, the return value of the method is zero.
The wrapper around the method seems to cover cases when the return from the sdk is negative (error) and positive (there are devices and we need to convert the pointer to a struct), but does not cover it being zero (according to other methods, i would expect the return Tuple to be (0, WootingAnalogResult.Ok). This is the behaviour of the ReadAnalog and Initialise methods
The text was updated successfully, but these errors were encountered:
If the SDK is working correctly but zero devices were found, the return value of the method is zero.
The wrapper around the method seems to cover cases when the return from the sdk is negative (error) and positive (there are devices and we need to convert the pointer to a struct), but does not cover it being zero (according to other methods, i would expect the return Tuple to be (0, WootingAnalogResult.Ok). This is the behaviour of the
ReadAnalog
andInitialise
methodsThe text was updated successfully, but these errors were encountered: