Move ToRad here to match ToDeg

git-svn-id: https://arducopter.googlecode.com/svn/trunk@1338 f9c3cf11-9bcb-44bc-f272-b75c42450872
This commit is contained in:
DrZiplok 2010-12-28 23:30:09 +00:00
parent ed8e70aff0
commit 22335b531d
1 changed files with 1 additions and 0 deletions

View File

@ -191,6 +191,7 @@ protected:
/// XXX this should probably be replaced with radians()/degrees(), but their
/// inclusion in wiring.h makes doing that here difficult.
#define ToDeg(x) (x*57.2957795131) // *180/pi
#define ToRad(x) (x*0.01745329252) // *pi/180
//@}