diff options
author | Anton Matosov <anton.matosov@gmail.com> | 2015-01-05 23:15:12 +0200 |
---|---|---|
committer | Anton Matosov <anton.matosov@gmail.com> | 2015-01-05 23:15:12 +0200 |
commit | 117d43067f3c16c596a41cf0af5feaee1b11716b (patch) | |
tree | 07e0665f6025f2c8ae9551b1771b9d5e7eccb323 /src/modules/systemlib/mixer/multi_tables | |
parent | 18bf501992afa8b561822615104c3868091429b9 (diff) | |
download | px4-firmware-117d43067f3c16c596a41cf0af5feaee1b11716b.tar.gz px4-firmware-117d43067f3c16c596a41cf0af5feaee1b11716b.tar.bz2 px4-firmware-117d43067f3c16c596a41cf0af5feaee1b11716b.zip |
Switched to enum class out of class definition
Diffstat (limited to 'src/modules/systemlib/mixer/multi_tables')
-rwxr-xr-x | src/modules/systemlib/mixer/multi_tables | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/systemlib/mixer/multi_tables b/src/modules/systemlib/mixer/multi_tables index 2752165cf..5d746fcfa 100755 --- a/src/modules/systemlib/mixer/multi_tables +++ b/src/modules/systemlib/mixer/multi_tables @@ -151,12 +151,12 @@ tables = [quad_x, quad_plus, quad_v, quad_wide, hex_x, hex_plus, hex_cox, octa_x def printEnum(): - print "enum MultirotorMixer::Geometry : unsigned int {" + print "enum class MultirotorGeometry : unsigned int {" for table in tables: print "\t{},".format(variableName(table).upper()) print "\n\tMAX_GEOMETRY" - print "}; // enum MultirotorMixer::Geometry\n" + print "}; // enum class MultirotorGeometry\n" def printScaleTables(): for table in tables: |