summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libirecovery.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libirecovery.c b/libirecovery.c
index 540e01c..614b81d 100644
--- a/libirecovery.c
+++ b/libirecovery.c
@@ -678,7 +678,7 @@ irecv_error_t irecv_send_buffer(irecv_client_t client, unsigned char* buffer, un
int recovery_mode = (client->mode != kDfuMode);
if (check_context(client) != IRECV_E_SUCCESS) return IRECV_E_NO_DEVICE;
- int packet_size = 0x800;
+ int packet_size = 32768;
int last = length % packet_size;
int packets = length / packet_size;
if (last != 0) {