PID, deleted overflow code
This commit is contained in:
parent
e6ce36f9e9
commit
f787b19572
@ -69,7 +69,6 @@ float accPitchFineTune = 0;
|
|||||||
float calcAngle(const uint8_t axis, const float x_axis, const float y_axis, const float z_axis)
|
float calcAngle(const uint8_t axis, const float x_axis, const float y_axis, const float z_axis)
|
||||||
{
|
{
|
||||||
float angle;
|
float angle;
|
||||||
float angle_offset = (z_axis < 0 )? 90: 0;
|
|
||||||
|
|
||||||
switch (axis)
|
switch (axis)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user