diff options
-rw-r--r-- | src/ch7xxx/ch7xxx.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/ch7xxx/ch7xxx.c b/src/ch7xxx/ch7xxx.c index e4b21f28..d31a38c6 100644 --- a/src/ch7xxx/ch7xxx.c +++ b/src/ch7xxx/ch7xxx.c @@ -157,6 +157,9 @@ ch7xxx_init(I2CDevPtr d) static ModeStatus ch7xxx_mode_valid(I2CDevPtr d, DisplayModePtr mode) { + if (mode->Clock > 165000) + return MODE_CLOCK_HIGH; + return MODE_OK; } |