Remove FirmwareInfo struct redeclaration

This commit is contained in:
wheremyfoodat
2024-12-01 00:06:40 +02:00
committed by GitHub
parent 713e19a4a1
commit c2b479889c

View File

@@ -317,19 +317,6 @@ void DSPService::triggerInterrupt1() {
}
}
struct FirmwareInfo {
using Hash = std::array<u8, 32>;
Hash hash; // Firmware hash (SHA-256)
u32 size; // Firmware size in bytes
bool supportsAAC; // Does this firmware support AAC decoding?
const char* notes; // Miscellaneous notes about the firmware
explicit constexpr FirmwareInfo(const Hash& hash, u32 size, bool supportsAAC, const char* notes)
: hash(hash), size(size), supportsAAC(supportsAAC), notes(notes) {}
};
void DSPService::printFirmwareInfo() {
// No component has been loaded, do nothing.
if (!loadedComponent.size()) {