fixed tx str terminator
authordrowe67 <drowe67@01035d8c-6547-0410-b346-abe4f91aad63>
Sun, 13 Dec 2015 22:40:18 +0000 (22:40 +0000)
committerdrowe67 <drowe67@01035d8c-6547-0410-b346-abe4f91aad63>
Sun, 13 Dec 2015 22:40:18 +0000 (22:40 +0000)
git-svn-id: https://svn.code.sf.net/p/freetel/code@2524 01035d8c-6547-0410-b346-abe4f91aad63

codec2-dev/src/freedv_tx.c

index 1c6ef4071f2fc761c2058f9dbc7e86f277d282a3..cf050bcf9bdd9d557711117cea8060dd0c205cb5 100644 (file)
@@ -106,7 +106,7 @@ int main(int argc, char *argv[]) {
 
     /* set up callback for txt msg chars */
 
-    sprintf(my_cb_state.tx_str, "cq cq cq hello world\n");
+    sprintf(my_cb_state.tx_str, "cq cq cq hello world\r");
     my_cb_state.ptx_str = my_cb_state.tx_str;
     freedv_set_callback_txt(freedv, NULL, &my_get_next_tx_char, &my_cb_state);