From 1b03920ca7d576c8400dd006ac1bbdecc1664231 Mon Sep 17 00:00:00 2001 From: Ethan Yonker Date: Fri, 30 Jan 2015 10:08:48 -0600 Subject: MTP: make MTP work even if unplugged and replugged Set up a loop to keep trying to open / read the MTP device so that MTP will work even if the device is unplugged during boot or unplugged and replugged in. Change-Id: I0d3a3b7c91ce84a8cbed16caa4b15efee35b3641 --- mtp/mtp_MtpServer.hpp | 2 -- 1 file changed, 2 deletions(-) (limited to 'mtp/mtp_MtpServer.hpp') diff --git a/mtp/mtp_MtpServer.hpp b/mtp/mtp_MtpServer.hpp index 622ed6d6f..99f63d510 100755 --- a/mtp/mtp_MtpServer.hpp +++ b/mtp/mtp_MtpServer.hpp @@ -44,8 +44,6 @@ typedef std::vector storages; class twmtp_MtpServer { public: void start(); - int setup(); - void run(); void cleanup(); void send_object_added(int handle); void send_object_removed(int handle); -- cgit v1.2.3