diff options
Diffstat (limited to 'src')
-rwxr-xr-x | src/modules/systemlib/mixer/multi_tables | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/modules/systemlib/mixer/multi_tables b/src/modules/systemlib/mixer/multi_tables index 01ff1b719..a9edb357b 100755 --- a/src/modules/systemlib/mixer/multi_tables +++ b/src/modules/systemlib/mixer/multi_tables @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/env python ############################################################################ # # Copyright (c) 2013, 2014 PX4 Development Team. All rights reserved. @@ -39,9 +39,12 @@ import math print "/*" -print "* These file is automatically generated by multi_tables - do not edit." +print "* This file is automatically generated by multi_tables - do not edit." print "*/" print "" +print "#ifndef _MIXER_MULTI_TABLES" +print "#define _MIXER_MULTI_TABLES" +print "" def rcos(angleInRadians): return math.cos(math.radians(angleInRadians)) @@ -190,3 +193,5 @@ printScaleTablesIndex() printScaleTablesCounts() print "} // anonymous namespace\n" +print "#endif /* _MIXER_MULTI_TABLES */" +print "" |