AP_GPS: Pass an in range value for the param initilizer

This commit is contained in:
Michael du Breuil 2019-05-09 15:06:22 -07:00 committed by Andrew Tridgell
parent 1040ca2d5e
commit 7871040bb6

View File

@ -134,7 +134,7 @@ const AP_Param::GroupInfo AP_GPS::var_info[] = {
// @Description: Masked with the SBP msg_type field to determine whether SBR1/SBR2 data is logged
// @Values: 0:None (0x0000),-1:All (0xFFFF),-256:External only (0xFF00)
// @User: Advanced
AP_GROUPINFO("SBP_LOGMASK", 8, AP_GPS, _sbp_logmask, 0xFF00),
AP_GROUPINFO("SBP_LOGMASK", 8, AP_GPS, _sbp_logmask, -256),
// @Param: RAW_DATA
// @DisplayName: Raw data logging