Set correct field sizes in DeviceInfo.

This commit is contained in:
2019-10-12 23:23:15 +01:00
parent 3f61767f2d
commit 00a340b7bf

View File

@@ -66,10 +66,10 @@ typedef struct
typedef struct typedef struct
{ {
char path[1024]; char path[1024];
char vendor; char vendor[256];
char model; char model[256];
char serial; char serial[256];
char bus; char bus[256];
uint8_t supported; uint8_t supported;
} DeviceInfo; } DeviceInfo;