修复:热重启时保持射频时钟
This commit is contained in:
+8
-3
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user