add all GC 1&2 subcommand formats

This commit is contained in:
Martin Michelsen
2022-10-09 01:35:22 -07:00
parent 48905bfa10
commit f088454c25
12 changed files with 1852 additions and 798 deletions
-6
View File
@@ -47,12 +47,6 @@ union PSOCommandHeader {
PSOCommandHeader();
} __attribute__((packed));
union PSOSubcommand {
uint8_t byte[4];
le_uint16_t word[2];
le_uint32_t dword;
} __attribute__((packed));
// This function is used in a lot of places to check received command sizes and
// cast them to the appropriate type
template <typename T>