Remove keyboard description from Adafruit BLE device name

This commit is contained in:
fauxpark 2019-02-01 14:14:39 +11:00 committed by Drashna Jaelre
parent 9a701632c4
commit 8dd0ff6c7a

View file

@ -533,8 +533,7 @@ bool adafruit_ble_enable_keyboard(void) {
// Disable command echo // Disable command echo
static const char kEcho[] PROGMEM = "ATE=0"; static const char kEcho[] PROGMEM = "ATE=0";
// Make the advertised name match the keyboard // Make the advertised name match the keyboard
static const char kGapDevName[] PROGMEM = static const char kGapDevName[] PROGMEM = "AT+GAPDEVNAME=" STR(PRODUCT);
"AT+GAPDEVNAME=" STR(PRODUCT) " " STR(DESCRIPTION);
// Turn on keyboard support // Turn on keyboard support
static const char kHidEnOn[] PROGMEM = "AT+BLEHIDEN=1"; static const char kHidEnOn[] PROGMEM = "AT+BLEHIDEN=1";