Skip to content

Commit

Permalink
Added images and THANKS file.
Browse files Browse the repository at this point in the history
  • Loading branch information
GreySyntax committed Oct 25, 2010
1 parent 2b473e8 commit 228558b
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 6 deletions.
2 changes: 2 additions & 0 deletions THANKS
@@ -0,0 +1,2 @@
== images/irecvpp.png / images/irecvpp-black.jpg ==
:Created by Harris (www.evaodesign.com / www.mydevpg.com)
Binary file added images/irecvpp-black.jpg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/irecvpp.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 3 additions & 4 deletions src/IDevice.cpp
Expand Up @@ -170,10 +170,10 @@ bool IDevice::SendBuffer(char* data, int length, int* actual_length) {
Connect();
}

if (! USB.IsConnected() || ! USB.Configure(1) || ! USB.ClaimAltInterface(1, 1)) {
/*if (! USB.IsConnected() || ! USB.Configure(1) || ! USB.ClaimAltInterface(1, 1)) {
return false;
}
}*/

if (USB.Write(0x04, data, length, actual_length, kUploadTimeout) != 0) {

Expand Down Expand Up @@ -206,9 +206,8 @@ void IDevice::Shell() {
bool runShell = true;
int available = 0, pos = 0;
char *prompt, *temp;

deftext = (char *)0;
//prompt = "IDevice$: ";

if (deftext && *deftext) {

Expand Down
5 changes: 3 additions & 2 deletions src/Program.cpp
@@ -1,6 +1,6 @@
/***
* iRecovery++ libusb based usb interface for iBoot and iBSS
* Copyright (C) 2010 GreySyntax
â * Copyright (C) 2010 GreySyntax
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
Expand Down Expand Up @@ -32,8 +32,9 @@ int main(int argc, char *argv[]) {

if (Device.Connect()) {

//Device.Shell();
Device.Upload("iBEC.n90ap.RELEASE.dfu");
Device.Shell();
//Device.Upload("../crap");
Device.Disconnect();
}

Expand Down

0 comments on commit 228558b

Please sign in to comment.