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
a9dd69c4db
commit
6c42ac7fca
|
@ -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