ardupilot
ardupilot copied to clipboard
Fence: Change AC_FENCE_ACTION to an enum
Change AC_FENCE_ACTION to an ENUM. Using an ENUM allows for grouping actions. I believe using an ENUM is better than indicating groups with define names.
I like this kind of PR. Any motive for mixing of c-style cast and static cast?
@Ryanf55 san. I changed it to static_cast.
Ping @muramura don't forget this one