修复:热重启时保持射频时钟

This commit is contained in:
2026-08-28 13:25:54 +08:00
parent f939716614
commit fad8784550
6 changed files with 230 additions and 42 deletions
+8 -3
View File
@@ -755,13 +755,18 @@ int main(int argc, char *argv[])
break;
case 1: // restart
log_printf(LOG_DEBUG,I_NOUSED,"\n\nrestart by daemon.\n");
g_restart_app_flg = 1;
/* Keep argument 1 compatible with the deployed daemon, but use the same
* no-power-off RF recovery path as a normal application start. A fresh
* process must rebuild the TALISE handle and the FPGA-side JESD link;
* g_restart_app_flg=1 skips adrv9009_init() and can leave TX unavailable. */
log_printf(LOG_DEBUG,I_NOUSED,
"\n\nrestart by daemon, use normal RF recovery path.\n");
g_restart_app_flg = 0;
break;
}
}
log_printf(LOG_INFO, I_SYS_STATUS, "====System start===k=%d= 260428\n", USE_KOREA_VERSION);
log_printf(LOG_INFO, I_SYS_STATUS, "====System start===k=%d= 2607281650\n", USE_KOREA_VERSION);
pr_soft_start_ver();