From ebaf0a72d826a4c8f09d965cd2863d1848a999db Mon Sep 17 00:00:00 2001 From: Joshua Hill Date: Fri, 14 May 2010 16:40:51 -0400 Subject: added irecv_send_buffer() to lib header and simplified some packet math --- src/irecovery.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/irecovery.c') diff --git a/src/irecovery.c b/src/irecovery.c index e9ecdea..ae828af 100644 --- a/src/irecovery.c +++ b/src/irecovery.c @@ -99,13 +99,13 @@ int main(int argc, char** argv) { action = kStartShell; break; - case 'c': - action = kSendCommand; + case 'f': + action = kSendFile; argument = optarg; break; - case 'f': - action = kSendFile; + case 'c': + action = kSendCommand; argument = optarg; break; -- cgit v1.1-32-gdbae