Subversion Repositories Projects

Compare Revisions

Ignore whitespace Rev 2146 → Rev 2147

/Transportables_Koptertool/PKT/trunk/gps/mymath.h
0,0 → 1,15
#ifndef _MYMATH_H_
#define _MYMATH_H_
 
#include <avr/io.h>
 
#define T 16
#define Q 28140
#define SCALED(X) ((int32_t)((X) * Q))
#define RAD_TO_DEG 57.2957795 // radians to degrees = 180 / PI
 
uint16_t sqrt32(uint32_t qzahl);
int16_t c_cos_8192(int16_t angle);
int16_t my_atan2(int32_t y, int32_t x);
 
#endif
Property changes:
Added: svn:mime-type
+text/plain
\ No newline at end of property