Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: FreePilot PinDetect mbed-src
Fork of FreePilot_V2-2 by
Diff: base/Config.cpp
- Revision:
- 53:7b17d99ba7ee
- Parent:
- 52:2b44e1b2f33b
--- a/base/Config.cpp Sat Mar 14 17:57:42 2015 +0000
+++ b/base/Config.cpp Sat Mar 14 18:27:39 2015 +0000
@@ -33,10 +33,9 @@
//sprintf("$ID,%d\r\n$BTMODE,%d\r\n$PA,%f\r\n$TC,%f\r\n
fprintf(fp, "$ID,%d\r\n",_ID);//address
fprintf(fp, "$BTMODE,%d\r\n",_btMode);//bluetooth mode
-
fprintf(fp, "$PA,%f\r\n",phaseadv);//phase advance
fprintf(fp, "$TC,%f\r\n",tcenter);//tcenter
-fprintf(fp, "$FG,%f\r\n",fgain);//filter gain
+fprintf(fp, "$FG,%f\r\n", filterg );//filter gain
fprintf(fp, "$SC,%f\r\n",scale);//scale
fprintf(fp, "$AP,%f\r\n",avgpos);//avgpos
fprintf(fp,"$GYRO,%i\r\n",gyro_pos);
