• Dimitris Lampridis's avatar
    sw/python: fix calls to trtl_close() · aef493d7
    Dimitris Lampridis authored
    Before we were not calling the proper close() function in the destructor
    of the TrtlDevice object.
    
    We were also also not checking that the device handle (token) was
    defined before using it.
    
    Last but not least, we were not wrapping the device handle as a Python
    Ctypes 'c_void_p', which caused Ctypes to convert it to a 32-bit int,
    pointing to nowhere in a 64-bit system.
    aef493d7
Name
Last commit
Last update
..
firmware Loading commit data...
include Loading commit data...
kernel Loading commit data...
lib Loading commit data...
tools Loading commit data...
udev/rules.d Loading commit data...
.gitignore Loading commit data...
Makefile Loading commit data...