mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-08 17:08:28 -04:00
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.
|
// radius looks like an integer as a backwards-compatibility measure.
|
||||||
// For 4.2 we might consider only loading _INT and always saving as
|
// For 4.2 we might consider only loading _INT and always saving as
|
||||||
// float, and in 4.3 considering _INT invalid
|
// float, and in 4.3 considering _INT invalid
|
||||||
enum class AC_PolyFenceType {
|
enum class AC_PolyFenceType : uint8_t {
|
||||||
END_OF_STORAGE = 99,
|
END_OF_STORAGE = 99,
|
||||||
POLYGON_INCLUSION = 98,
|
POLYGON_INCLUSION = 98,
|
||||||
POLYGON_EXCLUSION = 97,
|
POLYGON_EXCLUSION = 97,
|
||||||
|
Loading…
Reference in New Issue
Block a user