AP_ADSB: change adsb.enable param to be a flag

This commit is contained in:
Tom Pittenger 2016-08-01 17:51:24 -07:00
parent f90957e7ed
commit b5ec37b9d8

View File

@ -49,7 +49,7 @@ const AP_Param::GroupInfo AP_ADSB::var_info[] = {
// @Description: Enable ADS-B
// @Values: 0:Disabled,1:Enabled
// @User: Standard
AP_GROUPINFO("ENABLE", 0, AP_ADSB, _enabled, 1),
AP_GROUPINFO_FLAGS("ENABLE", 0, AP_ADSB, _enabled, 1, AP_PARAM_FLAG_ENABLE),
// index 2 is reserved - was BEHAVIOR