]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - glsdk/ti-cluster-linux-application.git/commitdiff
use a 1080p monitor, content in vertical middle
authorSubhajit Paul <subhajit_paul@ti.com>
Thu, 4 Jul 2019 10:13:52 +0000 (15:43 +0530)
committerSubhajit Paul <subhajit_paul@ti.com>
Thu, 4 Jul 2019 10:13:52 +0000 (15:43 +0530)
Signed-off-by: Subhajit Paul <subhajit_paul@ti.com>
app.c

diff --git a/app.c b/app.c
index 2204032b7feac7a819bbf9edeee6f6a3ab207b59..444b59d0538ea30e5a57c30898878a4baa6119d3 100644 (file)
--- a/app.c
+++ b/app.c
@@ -51,13 +51,13 @@ int main()
                return 0;
        }
 
-       dial_layer_id = drm_add_layer(CONFIG_WIDTH, CONFIG_HEIGHT, 0, 0, 0, true);
+       dial_layer_id = drm_add_layer(CONFIG_WIDTH, CONFIG_HEIGHT, 0, 180, 0, true);
        if(dial_layer_id < 0) {
                printf("dial: drm_add_layer failed\n");
                return -1;
        }
 
-       needle_layer_id = drm_add_layer(CONFIG_WIDTH, CONFIG_HEIGHT, 0, 0, 1, false);
+       needle_layer_id = drm_add_layer(CONFIG_WIDTH, CONFIG_HEIGHT, 0, 180, 1, false);
        if(needle_layer_id < 0) {
                printf("needle: drm_add_layer failed\n");
                return -1;