This commit is contained in:
Nick Chan committed 2023-02-07 16:43:33 +08:00
1 parent 8138d582ab
commit 2415d7d4ee
5 files changed
+3 -21

No files matched your search

-6
View File
@@ -18,9 +18,6 @@ int pongo_thr_running = 0;
void* pongo_helper(void* ptr) {
pongo_thr_running = 1;
pthread_cleanup_push(thr_cleanup, &pongo_thr_running);
#if defined(__APPLE__) || defined(__linux__)
pthread_setname_np("in.palera.pongo-helper");
#endif
wait_for_pongo();
while (get_spin()) {
sleep(1);
@@ -33,9 +30,6 @@ void *pongo_usb_callback(void *arg) {
if (get_found_pongo())
return NULL;
set_found_pongo(1);
#if defined(__APPLE__) || defined(__linux__)
pthread_setname_np("in.palera.pongo-handler");
#endif
strncat(xargs_cmd, " rootdev=md0", 0x270 - strlen(xargs_cmd) - 1);
if (checkrain_option_enabled(palerain_flags, palerain_option_setup_rootful)) {
strncat(xargs_cmd, " wdt=-1", 0x270 - strlen(xargs_cmd) - 1);