# HG changeset patch # User Mychaela Falconia # Date 1540687093 0 # Node ID dd0247097097171b21afd6dd4059de6a4b1c9431 # Parent e40bb5a6c6b9693d79129c0b13e693c5c351e29d fc-shell: implemented 30 ms delay for batch mode AT commands with -p diff -r e40bb5a6c6b9 -r dd0247097097 rvinterf/asyncshell/at.c --- a/rvinterf/asyncshell/at.c Sun Oct 28 00:30:16 2018 +0000 +++ b/rvinterf/asyncshell/at.c Sun Oct 28 00:38:13 2018 +0000 @@ -14,6 +14,7 @@ #include "limits.h" #include "exitcodes.h" +extern char *rvinterf_ttyport; extern u_char rvi_msg[]; extern int rvi_msg_len; extern int oneshot_nowait; @@ -59,6 +60,8 @@ int rc; if (!oneshot_nowait) { + if (rvinterf_ttyport) + usleep(30000); init(); /* to catch the response properly */ ati_rx_control(1); }