Skip to content

Commit 9854c1b

Browse files
committed
updating method name to make it more descriptive
1 parent c539656 commit 9854c1b

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

features/FEATURE_BLE/targets/TARGET_CORDIO_ODIN_W2/HCIDriver.cpp

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ class HCIDriver : public cordio::CordioHCIDriver {
5050
virtual void handle_reset_sequence(uint8_t *pMsg);
5151

5252
private:
53-
void start_service_pack_transfert(void)
53+
void start_service_pack_transfer(void)
5454
{
5555
service_pack_index = 0;
5656
service_pack_transfered = false;
@@ -75,7 +75,7 @@ class HCIDriver : public cordio::CordioHCIDriver {
7575
/* check if response opcode is same as expected command opcode */
7676
MBED_ASSERT (cmd_opcode_ack_expected == opcode);
7777

78-
// update service pack index
78+
/* update service pack index */
7979
service_pack_index += (1 + HCI_CMD_HDR_LEN + odin_service_pack[service_pack_index + HCI_CMD_HDR_LEN]);
8080

8181
if (service_pack_index < service_pack_size)
@@ -157,12 +157,12 @@ void ble::vendor::odin_w2::HCIDriver::do_initialize()
157157

158158
void ble::vendor::odin_w2::HCIDriver::do_terminate()
159159
{
160-
// TODO: ASRI
160+
161161
}
162162

163163
void ble::vendor::odin_w2::HCIDriver::start_reset_sequence()
164164
{
165-
/* Update baudrate of BT to speed up setup time */
165+
/* Update baudrate of ble to speed up setup time */
166166
send_hci_vs_cmd(HCID_VS_UPDATE_UART_BAUD_RATE);
167167

168168
}
@@ -182,7 +182,7 @@ void ble::vendor::odin_w2::HCIDriver::handle_reset_sequence(uint8_t *pMsg)
182182

183183
if (opcode == HCID_VS_UPDATE_UART_BAUD_RATE) {
184184
update_uart_baud_rate();
185-
start_service_pack_transfert();
185+
start_service_pack_transfer();
186186
return;
187187
}
188188

0 commit comments

Comments
 (0)