CF/BF - delete some unused code from BST.

This commit is contained in:
Hydra 2017-03-19 15:23:37 +00:00 committed by Dominic Clifton
parent 5e27ece09f
commit f4ff951813
1 changed files with 2 additions and 5 deletions

View File

@ -248,10 +248,10 @@ static const char * const boardIdentifier = TARGET_BOARD_IDENTIFIER;
#define BST_RESET_CONF 208 //in message no param
#define BST_SET_WP 209 //in message sets a given WP (WP#,lat, lon, alt, flags)
#define BST_SELECT_SETTING 210 //in message Select Setting Number (0-2)
#define BST_SET_HEAD 211 //in message define a new heading hold direction
//#define BST_SET_HEAD 211 //in message define a new heading hold direction // unused
#define BST_SET_SERVO_CONFIGURATION 212 //in message Servo settings
#define BST_SET_MOTOR 214 //in message PropBalance function
#define BST_SET_NAV_CONFIG 215 //in message Sets nav config parameters - write to the eeprom
//#define BST_SET_NAV_CONFIG 215 //in message Sets nav config parameters - write to the eeprom // unused
// #define BST_BIND 240 //in message no param
@ -1008,9 +1008,6 @@ static bool bstSlaveProcessWriteCommand(uint8_t bstWriteCommand)
changePidProfile(bstRead8());
}
break;
case BST_SET_HEAD:
magHold = bstRead16();
break;
case BST_SET_RAW_RC:
{
uint8_t channelCount = bstReadDataSize() / sizeof(uint16_t);