mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-17 04:53:34 +08:00
Fix build errors (#5436)
* Use sorted to fix python3 build error * Add drv_hrt.h include to Bebop df wrappers
This commit is contained in:
committed by
Lorenz Meier
parent
723d3c121a
commit
b9b9f17eee
@@ -129,8 +129,7 @@ class Parameter(object):
|
||||
Return list of existing bitmask codes in convenient order
|
||||
"""
|
||||
keys = self.bitmask.keys()
|
||||
keys.sort(key=float)
|
||||
return keys
|
||||
return sorted(keys, key=float)
|
||||
|
||||
def GetBitmaskBit(self, index):
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user