diff options
-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 786b63b02..46dfc5bff 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 # # Generate multirotor mixer scale tables compatible with the ArduCopter layout # @@ -6,9 +6,12 @@ import math print "/*" -print "* These file is automatically generated by multi_tables.py - do not edit." +print "* This file is automatically generated by multi_tables.py - 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)) @@ -157,3 +160,5 @@ printScaleTablesIndex() printScaleTablesCounts() print "} // anonymous namespace\n" +print "#endif /* _MIXER_MULTI_TABLES */" +print "" |