Skip to content

Commit

Permalink
Remove FirmwareInfo struct redeclaration
Browse files Browse the repository at this point in the history
  • Loading branch information
wheremyfoodat authored Nov 30, 2024
1 parent 713e19a commit c2b4798
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions src/core/services/dsp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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()) {
Expand Down

0 comments on commit c2b4798

Please sign in to comment.