auto-pts: fix typo

This commit is contained in:
Matthias Ringwald 2019-11-05 17:51:21 +01:00
parent f0946845ff
commit 869e6d4e66
2 changed files with 3 additions and 3 deletions

View File

@ -102,7 +102,7 @@ extern "C" {
#define BTP_GAP_SETTING_CONTROLLER_CONF 0x00004000
#define BTP_GAP_SETTING_STATIC_ADDRESS 0x00008000
#define BTP_GAP_OP_READ_COTROLLER_INFO 0x03
#define BTP_GAP_OP_READ_CONTROLLER_INFO 0x03
#define BTP_GAP_OP_RESET 0x04
#define BTP_GAP_OP_SET_POWERED 0x05
#define BTP_GAP_OP_SET_CONNECTABLE 0x06

View File

@ -171,8 +171,8 @@ static void btp_gap_handler(uint8_t opcode, uint8_t controller_index, uint16_t l
case BTP_GAP_OP_READ_CONTROLLER_INDEX_LIST:
log_info("BTP_GAP_OP_READ_CONTROLLER_INDEX_LIST - not implemented");
break;
case BTP_GAP_OP_READ_COTROLLER_INFO:
log_info("BTP_GAP_OP_READ_COTROLLER_INFO");
case BTP_GAP_OP_READ_CONTROLLER_INFO:
log_info("BTP_GAP_OP_READ_CONTROLLER_INFO");
if (controller_index == 0){
uint8_t buffer[277];
bd_addr_t local_addr;