From 861c2d4f04d4805e12b336cd4147af82e2b946ea Mon Sep 17 00:00:00 2001 From: joevt Date: Wed, 24 Apr 2024 00:31:25 -0700 Subject: [PATCH] athens: Allow P2_MUX bit 6 to be 1. For modes 12 inch RGB 512x384@60 and VGA 800x600@72. --- devices/common/i2c/athens.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/devices/common/i2c/athens.cpp b/devices/common/i2c/athens.cpp index 8d46aff..f16ceb6 100644 --- a/devices/common/i2c/athens.cpp +++ b/devices/common/i2c/athens.cpp @@ -113,7 +113,7 @@ int AthensClocks::get_dot_freq() 22, 27, 28, 31, 35, 37, 38, 42, 49, 55, 56, 78, 125 }; - if (this->regs[AthensRegs::P2_MUX2] & 0xC0) { + if (this->regs[AthensRegs::P2_MUX2] & 0x80) { LOG_F(INFO, "%s: dot clock disabled", this->name.c_str()); return 0; }