File tree Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -77,25 +77,23 @@ else()
77
77
# CPU Configuration
78
78
set (CPU_FREQ_MHZ "378" CACHE STRING "CPU frequency in MHz" )
79
79
80
- # Override CPU frequency for HDMI (required for timing)
81
- if (ENABLE_HDMI )
82
- set (CPU_FREQ_MHZ "378" )
83
- message (STATUS "HDMI enabled - CPU frequency locked to 378 MHz" )
84
- endif ()
85
-
86
80
# =========================
87
81
# VALIDATION
88
82
# =========================
89
83
90
84
# Validate display options
91
85
set (DISPLAY_COUNT 0 )
92
86
if (ENABLE_TFT )
87
+ message (STATUS "TFT Enabled" )
93
88
math (EXPR DISPLAY_COUNT "${DISPLAY_COUNT} + 1" )
94
89
endif ()
95
90
if (ENABLE_VGA )
91
+ message (STATUS "VGA Enabled" )
96
92
math (EXPR DISPLAY_COUNT "${DISPLAY_COUNT} + 1" )
97
93
endif ()
98
94
if (ENABLE_HDMI )
95
+ set (CPU_FREQ_MHZ "378" )
96
+ message (STATUS "HDMI enabled - CPU frequency locked to 378 MHz" )
99
97
math (EXPR DISPLAY_COUNT "${DISPLAY_COUNT} + 1" )
100
98
endif ()
101
99
You can’t perform that action at this time.
0 commit comments