diff options
-rw-r--r-- | apps/iap.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/apps/iap.c b/apps/iap.c index 3075db90fa..33c84c759b 100644 --- a/apps/iap.c +++ b/apps/iap.c | |||
@@ -766,10 +766,13 @@ void iap_handlepkt(void) | |||
766 | iap_send_pkt(data, sizeof(data)); | 766 | iap_send_pkt(data, sizeof(data)); |
767 | break; | 767 | break; |
768 | } | 768 | } |
769 | /* Get Max Screen Size for Picture Upload??? */ | 769 | /* Get Screen Size */ |
770 | case 0x0033: | 770 | case 0x0033: |
771 | { | 771 | { |
772 | unsigned char data[] = {0x04, 0x00, 0x34, 0x01, 0x36, 0x00, 0xA8, 0x01}; | 772 | unsigned char data[] = {0x04, 0x00, 0x34, |
773 | LCD_WIDTH >> 8, LCD_WIDTH & 0xff, | ||
774 | LCD_HEIGHT >> 8, LCD_HEIGHT & 0xff, | ||
775 | 0x01}; | ||
773 | iap_send_pkt(data, sizeof(data)); | 776 | iap_send_pkt(data, sizeof(data)); |
774 | break; | 777 | break; |
775 | } | 778 | } |