diff --git a/libraries/AC_Fence/AC_PolyFence_loader.h b/libraries/AC_Fence/AC_PolyFence_loader.h index 4470cfa4fb..1625c87793 100644 --- a/libraries/AC_Fence/AC_PolyFence_loader.h +++ b/libraries/AC_Fence/AC_PolyFence_loader.h @@ -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,