mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2024-11-26 06:08:42 -05:00
Define twopi with more precision.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@2649 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
parent
86dcc48e0a
commit
7f4bc7aebe
@ -1,4 +1,4 @@
|
||||
//------------------------------------------------------------ MainWindow
|
||||
//------------------------------------------------------------- MainWindow
|
||||
#include "mainwindow.h"
|
||||
#include "ui_mainwindow.h"
|
||||
#include "devsetup.h"
|
||||
|
@ -29,7 +29,7 @@ extern "C" int d2aCallback(const void *inputBuffer, void *outputBuffer,
|
||||
paUserData *udata=(paUserData*)userData;
|
||||
short *wptr = (short*)outputBuffer;
|
||||
|
||||
static double twopi=6.283185307;
|
||||
static double twopi=2.0*3.141592653589793238462;
|
||||
static double baud=12000.0/udata->nsps;
|
||||
static double phi=0.0;
|
||||
static double dphi;
|
||||
|
Loading…
Reference in New Issue
Block a user