X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=src%2Fkalman%2Fkalman_micro.5c;h=97404e17c08a8233d34fe067ed27cf21e34ecf75;hb=23075d174d2bff8ff3f3deef3c3d90b83da6bd2e;hp=266a118264a385ca073fb02f74dc5e8db540791a;hpb=249ee968305ae6e8fcf0a10e5cf9cc5826bd81dd;p=fw%2Faltos diff --git a/src/kalman/kalman_micro.5c b/src/kalman/kalman_micro.5c index 266a1182..97404e17 100644 --- a/src/kalman/kalman_micro.5c +++ b/src/kalman/kalman_micro.5c @@ -5,7 +5,8 @@ * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; version 2 of the License. + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, but * WITHOUT ANY WARRANTY; without even the implied warranty of @@ -307,7 +308,7 @@ void main() { name = sprintf("%s_K%d_%d", prefix, i, time_inc); else name = sprintf("%s_K%d%d_%d", prefix, i, j, time_inc); - printf ("#define %s to_fix32(%12.10f)\n", name, k[i,j]); + printf ("#define %s to_fix_k(%12.10f)\n", name, k[i,j]); } printf ("\n"); exit(0);