From 1725bdd56ef828adc7587c9be5b516a9ddab767a Mon Sep 17 00:00:00 2001 From: Brandon Ros Date: Tue, 22 Aug 2023 19:37:17 -0400 Subject: [PATCH] rename to read_firmware_patch_line --- cyw43/src/bluetooth.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cyw43/src/bluetooth.rs b/cyw43/src/bluetooth.rs index d520af5e..8914f5ea 100644 --- a/cyw43/src/bluetooth.rs +++ b/cyw43/src/bluetooth.rs @@ -24,7 +24,7 @@ fn round_down(x: u32, a: u32) -> u32 { x & !(a - 1) } -fn cybt_fw_get_data(p_btfw_cb: &mut CybtFwCb, hfd: &mut HexFileData) -> u32 { +fn read_firmware_patch_line(p_btfw_cb: &mut CybtFwCb, hfd: &mut HexFileData) -> u32 { let mut abs_base_addr32 = 0; loop { @@ -99,7 +99,7 @@ pub(crate) async fn upload_bluetooth_firmware( p_ds: &mut data_buffer, }; loop { - let num_fw_bytes = cybt_fw_get_data(&mut btfw_cb, &mut hfd); + let num_fw_bytes = read_firmware_patch_line(&mut btfw_cb, &mut hfd); if num_fw_bytes == 0 { break; }