mirror of https://github.com/ARMmbed/mbed-os.git
fix typos
parent
108d6908be
commit
06a2a403e9
|
@ -515,7 +515,7 @@ public:
|
|||
* @param txSize Number of octets we can send on this connection in a single packet.
|
||||
* @param rxSize Number of octets we can receive on this connection in a single packet.
|
||||
*/
|
||||
virtual void onPacketPaylodSizeChanged(
|
||||
virtual void onPacketPayloadSizeChanged(
|
||||
connection_handle_t connectionHandle,
|
||||
uint16_t txSize,
|
||||
uint16_t rxSize
|
||||
|
|
|
@ -628,12 +628,12 @@ private:
|
|||
);
|
||||
|
||||
virtual void on_att_mtu_changed(
|
||||
Handle_t connection_handle,
|
||||
connection_handle_t connection_handle,
|
||||
uint16_t att_mtu_size
|
||||
);
|
||||
|
||||
virtual void on_packet_paylod_size_changed(
|
||||
Handle_t connection_handle,
|
||||
virtual void on_packet_payload_size_changed(
|
||||
connection_handle_t connection_handle,
|
||||
uint16_t tx_size,
|
||||
uint16_t rx_size
|
||||
);
|
||||
|
|
|
@ -53,9 +53,9 @@ struct Gap {
|
|||
) = 0;
|
||||
|
||||
/**
|
||||
* @copydoc Gap::EventHandler::onPacketPaylodSizeChanged
|
||||
* @copydoc Gap::EventHandler::onPacketPayloadSizeChanged
|
||||
*/
|
||||
virtual void on_packet_paylod_size_changed(
|
||||
virtual void on_packet_payload_size_changed(
|
||||
connection_handle_t connection_handle,
|
||||
uint16_t tx_size,
|
||||
uint16_t rx_size
|
||||
|
|
|
@ -870,14 +870,14 @@ void GenericGap::on_att_mtu_changed(
|
|||
}
|
||||
}
|
||||
|
||||
void GenericGap::on_packet_paylod_size_changed(
|
||||
void GenericGap::on_packet_payload_size_changed(
|
||||
Handle_t connection_handle,
|
||||
uint16_t tx_size,
|
||||
uint16_t rx_size
|
||||
)
|
||||
{
|
||||
if (_eventHandler) {
|
||||
_eventHandler->onPacketPaylodSizeChanged(connection_handle, tx_size, rx_size);
|
||||
_eventHandler->onPacketPayloadSizeChanged(connection_handle, tx_size, rx_size);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -291,7 +291,7 @@ void BLE::device_manager_cb(dmEvt_t* dm_event)
|
|||
ble::pal::Gap::EventHandler *handler;
|
||||
handler = ble::pal::vendor::cordio::Gap::get_gap().get_event_handler();
|
||||
if (handler) {
|
||||
handler->on_packet_paylod_size_changed(
|
||||
handler->on_packet_payload_size_changed(
|
||||
dm_event->hdr.param,
|
||||
dm_event->dataLenChange.maxTxOctets,
|
||||
dm_event->dataLenChange.maxRxOctets
|
||||
|
|
Loading…
Reference in New Issue