mirror of https://github.com/ArduPilot/ardupilot
AC_Fence: specify storage type for AC_PolyFenceType
we allocate RAM based on the size of this structure
This commit is contained in:
parent
f2ed243037
commit
86fef47dc2
|
@ -9,7 +9,7 @@
|
|||
// radius looks like an integer as a backwards-compatibility measure.
|
||||
// For 4.2 we might consider only loading _INT and always saving as
|
||||
// float, and in 4.3 considering _INT invalid
|
||||
enum class AC_PolyFenceType {
|
||||
enum class AC_PolyFenceType : uint8_t {
|
||||
END_OF_STORAGE = 99,
|
||||
POLYGON_INCLUSION = 98,
|
||||
POLYGON_EXCLUSION = 97,
|
||||
|
|
Loading…
Reference in New Issue