Browse Source

AP_ADSB: change adsb.enable param to be a flag

master
Tom Pittenger 9 years ago
parent
commit
b5ec37b9d8
  1. 2
      libraries/AP_ADSB/AP_ADSB.cpp

2
libraries/AP_ADSB/AP_ADSB.cpp

@ -49,7 +49,7 @@ const AP_Param::GroupInfo AP_ADSB::var_info[] = { @@ -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

Loading…
Cancel
Save