Home
last modified time | relevance | path

Searched refs:read_res (Results 1 – 1 of 1) sorted by relevance

/Zephyr-Core-3.5.0/drivers/modem/
Dhl7800.c4408 int read_res; in prepare_and_send_fw_packet() local
4419 read_res = fs_read(&iface_ctx.fw_update_file, iface_ctx.fw_packet.data, in prepare_and_send_fw_packet()
4421 if (read_res < 0) { in prepare_and_send_fw_packet()
4423 LOG_ERR("Failed to read fw update file [%d]", read_res); in prepare_and_send_fw_packet()
4425 } else if (read_res < XMODEM_DATA_SIZE) { in prepare_and_send_fw_packet()
4429 for (int i = read_res; i < XMODEM_DATA_SIZE; i++) { in prepare_and_send_fw_packet()
4439 iface_ctx.file_pos += read_res; in prepare_and_send_fw_packet()