Rev 857 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 857 | Rev 887 | ||
---|---|---|---|
Line 193... | Line 193... | ||
193 | mm3_x_axis = MM3.x_axis; |
193 | mm3_x_axis = MM3.x_axis; |
194 | mm3_y_axis = MM3.y_axis; |
194 | mm3_y_axis = MM3.y_axis; |
195 | mm3_z_axis = MM3.z_axis; |
195 | mm3_z_axis = MM3.z_axis; |
196 | SREG = tmp_sreg; |
196 | SREG = tmp_sreg; |
Line 197... | Line 197... | ||
197 | 197 | ||
198 | int temp = Aktuell_az-550; |
198 | int temp = Aktuell_az - acc_neutral.compass; |
199 | // Lage-Berechnung mittels Acc-Messwerte |
199 | // Lage-Berechnung mittels Acc-Messwerte |
200 | tilt = atan2_i(temp,AdWertAccNick*64); |
200 | tilt = atan2_i(temp,AdWertAccNick*64); |
201 | sin_nick = sin_i(tilt); |
201 | sin_nick = sin_i(tilt); |