imu: clean MadgwickAHRSupdate
authorOlivier Matz <zer0@droids-corp.org>
Thu, 18 Sep 2014 17:44:08 +0000 (19:44 +0200)
committerOlivier Matz <zer0@droids-corp.org>
Thu, 18 Sep 2014 17:44:08 +0000 (19:44 +0200)
commitb97fa76596da6870c492efc1efd4aecea38bd579
treeb69936a739d9b43865840b8c1ce722adebcc0746
parent38ab4aa1d171a574beb7c286345260dc6ece06dc
imu: clean MadgwickAHRSupdate

- remove unused q0 q1 q2 q3 global variables
- copy structs locally, work on local vars, then update struct at the
  end
imuboard/MadgwickAHRS.c