Add message to assertion
This commit is contained in:
1 parent
3d5147a6e2
commit
a697cac43c
1 file changed
+1
-1
@@ -254,7 +254,7 @@ namespace board {
|
||||
|
||||
void PcvHijackGpuVolts(u32 vmin) {
|
||||
u32 table[192];
|
||||
static_assert(sizeof(table) == sizeof(voltData.voltTable));
|
||||
static_assert(sizeof(table) == sizeof(voltData.voltTable), "Invalid gpu voltage table size!");
|
||||
std::memcpy(table, voltData.voltTable, sizeof(voltData.voltTable));
|
||||
|
||||
if (voltData.ramVmin == vmin) {
|
||||
|
||||
Reference in new issue
Block a user