Skip to content

Commit

Permalink
TCTI-SPI-LT2GO: Change VID and PID to final values
Browse files Browse the repository at this point in the history
Signed-off-by: Paul Kissinger <paul.kissinger@letstrust.de>
  • Loading branch information
PaulKissinger authored and JuergenReppSIT committed Jul 12, 2023
1 parent e929895 commit 39718fb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/tss2-tcti/tcti-spi-lt2go.c
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@
#define LOGMODULE tcti
#include "util/log.h"

#define VID_CYPRESS 0x04b4u
#define PID_CYUSBSPI 0x0004u
#define VID_PI3G 0x365Du
#define PID_LTT2GO 0x1337u
#define TIMEOUT 1000
#define CTRL_SET 0xC0u
#define CTRL_GET 0x40u
Expand Down Expand Up @@ -216,7 +216,7 @@ create_tcti_spi_lt2go_platform (TSS2_TCTI_SPI_HELPER_PLATFORM *platform)
goto out;
}

platform_data->dev_handle = libusb_open_device_with_vid_pid (platform_data->ctx, VID_CYPRESS, PID_CYUSBSPI);
platform_data->dev_handle = libusb_open_device_with_vid_pid (platform_data->ctx, VID_PI3G, PID_LTT2GO);
if (!platform_data->dev_handle) {
LOG_ERROR ("LetsTrust-TPM2Go not found.");
goto out;
Expand Down

0 comments on commit 39718fb

Please sign in to comment.