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
678 int recovery_mode = (client->mode != kDfuMode); 678 int recovery_mode = (client->mode != kDfuMode);
679 if (check_context(client) != IRECV_E_SUCCESS) return IRECV_E_NO_DEVICE; 679 if (check_context(client) != IRECV_E_SUCCESS) return IRECV_E_NO_DEVICE;
680 680
681 int packet_size = 0x800; 681 int packet_size = 32768;
682 int last = length % packet_size; 682 int last = length % packet_size;
683 int packets = length / packet_size; 683 int packets = length / packet_size;
684 if (last != 0) { 684 if (last != 0) {