usb: thor: add screen support
authorInha Song <ideal.song@samsung.com>
Fri, 11 Oct 2013 08:50:24 +0000 (17:50 +0900)
committerJoonyoung Shim <jy0922.shim@samsung.com>
Thu, 15 Jan 2015 06:35:38 +0000 (15:35 +0900)
commitb5c74257e493e65b273b7331bc7a6ec5c31070bc
treef656288be8ea21202e7d557a41bd0a626bc1be2c
parent651de3ee577d90ad888200cda277f4ef4ce935dc
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