diff options
author | Robin Krahl <robin.krahl@ireas.org> | 2019-01-27 23:34:04 +0000 |
---|---|---|
committer | Robin Krahl <robin.krahl@ireas.org> | 2019-01-28 00:36:53 +0100 |
commit | 1d68e24db4078ad1a004afd7bec90a81e7d31ec8 (patch) | |
tree | fafbdf83ccf00838adf224bec0813320a23d75cc /nitrokey-sys | |
parent | c30cbd35ba187cd6e5055d3beb8420b11fb030ec (diff) | |
download | nitrokey-rs-1d68e24db4078ad1a004afd7bec90a81e7d31ec8.tar.gz nitrokey-rs-1d68e24db4078ad1a004afd7bec90a81e7d31ec8.tar.bz2 |
Add get_firmware_version method
This patch combines the get_{major,minor}_firmware_version methods into
the new get_firmware_version method that returns a FirmwareVersion
struct. Currently, this requires casting from i32 to u8. But this will
be fixed with the next libnitrokey version as we change the return types
for the firmware getters.
Diffstat (limited to 'nitrokey-sys')
0 files changed, 0 insertions, 0 deletions