Skip to content

Commit c1e22b8

Browse files
committed
dsi: fix clock for Giga_CM4
1 parent d9fc415 commit c1e22b8

File tree

1 file changed

+2
-0
lines changed
  • libraries/Arduino_H7_Video/src

1 file changed

+2
-0
lines changed

libraries/Arduino_H7_Video/src/dsi.cpp

+2
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,8 @@ int dsi_init(uint8_t bus, struct edid *edid, struct display_timing *dt) {
5151
static const uint32_t DSI_PLLIDF = DSI_PLL_IN_DIV3;
5252
static const uint32_t DSI_PLLODF = DSI_PLL_OUT_DIV1;
5353
static const uint32_t DSI_TXEXCAPECLOCKDIV = 4;
54+
#undef HSE_VALUE
55+
#define HSE_VALUE 16000000
5456
#else
5557
static const uint32_t DSI_PLLNDIV = 40;
5658
static const uint32_t DSI_PLLIDF = DSI_PLL_IN_DIV2;

0 commit comments

Comments
 (0)