summaryrefslogtreecommitdiffstats
path: root/src/recovery.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/recovery.c')
-rw-r--r--src/recovery.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/recovery.c b/src/recovery.c
index fb5a0fc..e4575fc 100644
--- a/src/recovery.c
+++ b/src/recovery.c
@@ -125,7 +125,7 @@ int recovery_check_mode(struct idevicerestore_client_t* client) {
return 0;
}
-static int recovery_set_autoboot(struct idevicerestore_client_t* client, int enable) {
+int recovery_set_autoboot(struct idevicerestore_client_t* client, int enable) {
irecv_error_t recovery_error = IRECV_E_SUCCESS;
recovery_error = irecv_send_command(client->recovery->client, (enable) ? "setenv auto-boot true" : "setenv auto-boot false");