Commit 7c087078 authored by Egbert Eich's avatar Egbert Eich
Browse files

- Make DDC code more VESA compliant: when MaxClock is set to 0xFF it means

    'no value specified'. Therefore setting it to 0.
parent c0bff215
......@@ -185,7 +185,9 @@ get_monitor_ranges(Uchar *c, struct monitor_ranges *r)
r->max_v = MAX_V;
r->min_h = MIN_H;
r->max_h = MAX_H;
r->max_clock = MAX_CLOCK * 10;
r->max_clock = 0;
if(MAX_CLOCK != 0xff) /* is specified? */
r->max_clock = MAX_CLOCK * 10;
}
static void
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment