Subversion Repositories FlightCtrl

Rev

Rev 463 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 463 Rev 464
Line 174... Line 174...
174
signed int heading_MM3(void)
174
signed int heading_MM3(void)
175
//############################################################################
175
//############################################################################
176
{
176
{
177
        float sin_nick, cos_nick, sin_roll, cos_roll;
177
        float sin_nick, cos_nick, sin_roll, cos_roll;
178
        float x_corr, y_corr;
178
        float x_corr, y_corr;
179
        signed int x_axis,y_axis,z_axis,heading,nicktilt,rolltilt;
179
        signed int x_axis,y_axis,z_axis,heading;
-
 
180
        signed int nicktilt,rolltilt;
180
        unsigned int div_faktor;
181
        unsigned int div_faktor;
Line 181... Line 182...
181
               
182
               
Line 182... Line 183...
182
        div_faktor = (uint16_t)EE_Parameter.UserParam1 * 8;
183
        div_faktor = (uint16_t)EE_Parameter.UserParam1 * 8;