Skip to content

Commit

Permalink
[ASL2 PATCH] Update morse code character timing (#433)
Browse files Browse the repository at this point in the history
An ASL2 change (from AllStarLink/ASL-Asterisk#19)
was not fully merged into the ASL3 source base.  That PR included an
correction to the morse code character timing, specifically the inter
character delay. This change updates the timing to match what's commonly
understood (the space between two letters is equal to three dots).
  • Loading branch information
Allan-N authored Dec 20, 2024
1 parent 80055a4 commit 0f04b1a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions apps/app_rpt/rpt_channel.c
Original file line number Diff line number Diff line change
Expand Up @@ -341,9 +341,9 @@ int send_morse(struct ast_channel *chan, char *string, int speed, int freq, int

/* Establish timing releationships */

dashtime = 3 * dottime;
dashtime = dottime * 3;
intralettertime = dottime;
interlettertime = dottime * 4;
interlettertime = dottime * 3;
interwordtime = dottime * 7;

for (; (*string) && (!res); string++) {
Expand Down

0 comments on commit 0f04b1a

Please sign in to comment.