提交 2ad4f00c authored 作者: Anthony Minessale's avatar Anthony Minessale

add missing break on begin detect

上级 975ac0ac
...@@ -435,6 +435,7 @@ TELETONE_API(teletone_hit_type_t) teletone_dtmf_detect (teletone_dtmf_detect_sta ...@@ -435,6 +435,7 @@ TELETONE_API(teletone_hit_type_t) teletone_dtmf_detect (teletone_dtmf_detect_sta
dtmf_detect_state->zc = ZC; dtmf_detect_state->zc = ZC;
dtmf_detect_state->dur = 0; dtmf_detect_state->dur = 0;
r = TT_HIT_BEGIN; r = TT_HIT_BEGIN;
break;
} }
} }
......
...@@ -435,6 +435,7 @@ TELETONE_API(teletone_hit_type_t) teletone_dtmf_detect (teletone_dtmf_detect_sta ...@@ -435,6 +435,7 @@ TELETONE_API(teletone_hit_type_t) teletone_dtmf_detect (teletone_dtmf_detect_sta
dtmf_detect_state->zc = ZC; dtmf_detect_state->zc = ZC;
dtmf_detect_state->dur = 0; dtmf_detect_state->dur = 0;
r = TT_HIT_BEGIN; r = TT_HIT_BEGIN;
break;
} }
} }
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论