diff options
| author | Diane Bruce <db@FreeBSD.org> | 2013-03-29 21:28:15 +0000 |
|---|---|---|
| committer | Diane Bruce <db@FreeBSD.org> | 2013-03-29 21:28:15 +0000 |
| commit | f3d86acca567a437be1a4ee90bc1ce1e3a213326 (patch) | |
| tree | 7ac571600ec5478db224f9285a8c2683eb735627 /comms/fldigi/files/patch-src_throb_throb.cxx | |
| parent | Fix build with clang (diff) | |
- trim header
- change to new options framework for docs
- change default tty to ttyu from ttyd
- fix warning with retval while here
- fix build on FreeBSD-10
- clean up tiny warning in xml code
Diffstat (limited to 'comms/fldigi/files/patch-src_throb_throb.cxx')
| -rw-r--r-- | comms/fldigi/files/patch-src_throb_throb.cxx | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/comms/fldigi/files/patch-src_throb_throb.cxx b/comms/fldigi/files/patch-src_throb_throb.cxx new file mode 100644 index 000000000000..ce464d2bd14b --- /dev/null +++ b/comms/fldigi/files/patch-src_throb_throb.cxx @@ -0,0 +1,20 @@ +--- src/throb/throb.cxx.orig 2013-03-28 13:27:03.683043974 -0400 ++++ src/throb/throb.cxx 2013-03-28 13:27:55.988221471 -0400 +@@ -37,6 +37,8 @@ + #include "fl_digi.h" + #include "status.h" + ++#define MAX_TONES 15 // Highest used I noticed was 11 ++ + #undef CLAMP + #define CLAMP(x,low,high) (((x)>(high))?(high):(((x)<(low))?(low):(x))) + +@@ -410,7 +412,7 @@ + + void throb::rx(complex in) + { +- complex rxword[num_tones]; ++ complex rxword[MAX_TONES]; + int i, tone1, tone2, maxtone; + + symbol[symptr] = in; |
