usb: thor: add screen support
authorInha Song <ideal.song@samsung.com>
Fri, 11 Oct 2013 08:50:24 +0000 (17:50 +0900)
committerLukasz Majewski <l.majewski@samsung.com>
Mon, 10 Mar 2014 09:14:01 +0000 (10:14 +0100)
commitd58183be019e236de813dab8a740a3aea2369479
treefbf37f16187a97f45df8d08056b46ccba674664b
parente1318281dd2e1eaa42f259e36e46c0b3b6f537a4
usb: thor: add screen support

cmd_thordown.c:
- add libtizen header
- change error handling for thor init
- add call to draw_thor_fail_screen() on error

f_thor.c:
- thor_init(): return -EINTR on ctrl+c or if power key was pressed 3 times
- thor_rx_data(): return -EINTR when pressed ctrl+c on data receiving
- add display simple info screen before cable is not connected
- add display download screen when connection is established
- update download progress bar if data receiving

Change-Id: Ia89ef48c6c2faa5eda5dda5c5b3951e675eec03b
Signed-off-by: Inha Song <ideal.song@samsung.com>
Signed-off-by: Przemyslaw Marczak <p.marczak@samsung.com>
common/cmd_thordown.c
drivers/usb/gadget/f_thor.c