HwInfo: extended hw_version field to 16 bits, added a 16-bit "flags" field

This commit is contained in:
Morgan Diepart 2024-01-17 23:00:45 +01:00 committed by Silvano Seva
parent caf3225a87
commit bd93d9429b
1 changed files with 2 additions and 1 deletions

View File

@ -60,7 +60,8 @@ typedef struct
{ {
char name[10]; /* Manufacturer-assigned hardware name. */ char name[10]; /* Manufacturer-assigned hardware name. */
uint8_t hw_version; /* Hardware version number */ uint16_t hw_version; /* Hardware version number */
uint16_t flags; /* Device-specific flags */
uint8_t _unused : 6, uint8_t _unused : 6,
uhf_band : 1, /* Device allows UHF band operation. */ uhf_band : 1, /* Device allows UHF band operation. */