Mercurial > public > hwos_code
diff src/compass_calib.c @ 96:a4bff632e97b
auto-reset compass filtering data before calibration
author | heinrichsweikamp |
---|---|
date | Mon, 28 Apr 2014 11:33:00 +0200 |
parents | 11d4fc797f74 |
children | 7d9edd3b8c86 |
line wrap: on
line diff
--- a/src/compass_calib.c Mon Apr 28 10:17:18 2014 +0200 +++ b/src/compass_calib.c Mon Apr 28 11:33:00 2014 +0200 @@ -33,6 +33,7 @@ Suu = Svv = Sww = Suv = Suw = Svw = 0.0; Suuu = Svvv = Swww = 0.0; Suuv = Suuw = Svvu = Svvw = Swwu = Swwv = 0.0; + compass_CX_f = compass_CY_f = compass_CZ_f = 0.0; } void compass_add_calibration()