diff options
author | Ondrej Čerman <ondrej.cerman@gmail.com> | 2021-10-20 00:41:13 +0200 |
---|---|---|
committer | L Pereira <l@tia.mat.br> | 2021-10-24 21:12:16 -0700 |
commit | c9d9f9c568ad69525f627709daa13bf731fe2549 (patch) | |
tree | 5fb8975ab1f5df55c069b3c99bcc945ff3582480 /modules | |
parent | 4411264f1c0b7f88624d93154aa6ca09649c00d9 (diff) |
devices/dmi_memory: fixed detection of DDR3 RAM with wrong driver
Diffstat (limited to 'modules')
-rw-r--r-- | modules/devices/dmi_memory.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/devices/dmi_memory.c b/modules/devices/dmi_memory.c index dfb9944f..72556f88 100644 --- a/modules/devices/dmi_memory.c +++ b/modules/devices/dmi_memory.c @@ -1016,7 +1016,7 @@ gboolean memory_devices_hinote(const char **msg) { note_cond_bullet(has_ee1004, note_state, want_ee1004); g_strstrip(note_state); /* remove last \n */ - gboolean ddr3_ee1004 = ((dmi_ram_types & (1<<DDR3_SDRAM)) && has_ee1004); + gboolean ddr3_ee1004 = ((dmi_ram_types & (1<<(DDR3_SDRAM-1))) && has_ee1004); gboolean best_state = FALSE; if (has_dmi && has_root && |