summaryrefslogtreecommitdiffstats
path: root/virtual-programs
diff options
context:
space:
mode:
Diffstat (limited to 'virtual-programs')
-rw-r--r--virtual-programs/display.folk7
1 files changed, 6 insertions, 1 deletions
diff --git a/virtual-programs/display.folk b/virtual-programs/display.folk
index e4ab2acd..a7f7d298 100644
--- a/virtual-programs/display.folk
+++ b/virtual-programs/display.folk
@@ -8,7 +8,12 @@ Start process "display" {
puts "Display pid: [pid]"
source pi/Gpu.tcl
- Gpu::init
+ if {[info hostname] eq "gadget-blue" || [info hostname] eq "gadget-green"} {
+ # HACK: we use HDMI1 instead of HDMI0 on these
+ Gpu::init 1
+ } else {
+ Gpu::init 0
+ }
Gpu::ImageManager::imageManagerInit
# TODO: Share these functions through the database somehow,