Return real screen size.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25215 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
70ac57b95b
commit
e5210747cb
1 changed files with 5 additions and 2 deletions
|
@ -766,10 +766,13 @@ void iap_handlepkt(void)
|
|||
iap_send_pkt(data, sizeof(data));
|
||||
break;
|
||||
}
|
||||
/* Get Max Screen Size for Picture Upload??? */
|
||||
/* Get Screen Size */
|
||||
case 0x0033:
|
||||
{
|
||||
unsigned char data[] = {0x04, 0x00, 0x34, 0x01, 0x36, 0x00, 0xA8, 0x01};
|
||||
unsigned char data[] = {0x04, 0x00, 0x34,
|
||||
LCD_WIDTH >> 8, LCD_WIDTH & 0xff,
|
||||
LCD_HEIGHT >> 8, LCD_HEIGHT & 0xff,
|
||||
0x01};
|
||||
iap_send_pkt(data, sizeof(data));
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue