diff options
Diffstat (limited to 'firmware')
-rw-r--r-- | firmware/export/config/ondavx767.h | 5 | ||||
-rw-r--r-- | firmware/target/mips/ingenic_jz47xx/onda_vx767/lcd-onda_vx767.c | 7 |
2 files changed, 8 insertions, 4 deletions
diff --git a/firmware/export/config/ondavx767.h b/firmware/export/config/ondavx767.h index bf9aaed7c1..b2bac4f851 100644 --- a/firmware/export/config/ondavx767.h +++ b/firmware/export/config/ondavx767.h | |||
@@ -62,11 +62,10 @@ | |||
62 | /* define this if the target has volume keys which can be used in the lists */ | 62 | /* define this if the target has volume keys which can be used in the lists */ |
63 | #define HAVE_VOLUME_IN_LIST | 63 | #define HAVE_VOLUME_IN_LIST |
64 | 64 | ||
65 | /* LCD dimensions */ | 65 | /* LCD type */ |
66 | #define CONFIG_LCD LCD_ONDAVX767 | 66 | #define CONFIG_LCD LCD_ONDAVX767 |
67 | 67 | ||
68 | /* this are not actually the correct dimensions (480x272 is correct) | 68 | /* LCD dimensions */ |
69 | * should be fixed once there's a working LCD driver */ | ||
70 | #define LCD_WIDTH 480 | 69 | #define LCD_WIDTH 480 |
71 | #define LCD_HEIGHT 272 | 70 | #define LCD_HEIGHT 272 |
72 | #define LCD_DPI 128 | 71 | #define LCD_DPI 128 |
diff --git a/firmware/target/mips/ingenic_jz47xx/onda_vx767/lcd-onda_vx767.c b/firmware/target/mips/ingenic_jz47xx/onda_vx767/lcd-onda_vx767.c index b3cc6980e1..caee8982f6 100644 --- a/firmware/target/mips/ingenic_jz47xx/onda_vx767/lcd-onda_vx767.c +++ b/firmware/target/mips/ingenic_jz47xx/onda_vx767/lcd-onda_vx767.c | |||
@@ -71,7 +71,12 @@ static void _display_pin_init(void) | |||
71 | __gpio_set_pin(PIN_UNK_N); \ | 71 | __gpio_set_pin(PIN_UNK_N); \ |
72 | SLCD_SET_DATA(val); \ | 72 | SLCD_SET_DATA(val); \ |
73 | WAIT_ON_SLCD; | 73 | WAIT_ON_SLCD; |
74 | 74 | ||
75 | /* Note: this has been confirmed non-working | ||
76 | * and needs some tweaking from a VX767 owner. | ||
77 | * (this was reverse engineered from the OF so | ||
78 | * "should" be correct) */ | ||
79 | |||
75 | static void _display_init(void) | 80 | static void _display_init(void) |
76 | { | 81 | { |
77 | int i; | 82 | int i; |