Fix rt_qspi_send symbol extension BUG

This commit is contained in:
wanghaijing 2022-06-14 14:14:36 +08:00 committed by guo
parent c8d92d7529
commit 0827ca64d0
1 changed files with 1 additions and 2 deletions

View File

@ -186,7 +186,7 @@ rt_err_t rt_qspi_send(struct rt_qspi_device *device, const void *send_buf, rt_si
RT_ASSERT(length != 0);
struct rt_qspi_message message;
char *ptr = (char *)send_buf;
unsigned char *ptr = (unsigned char *)send_buf;
rt_size_t count = 0;
rt_err_t result = 0;
@ -241,7 +241,6 @@ rt_err_t rt_qspi_send(struct rt_qspi_device *device, const void *send_buf, rt_si
else
{
message.qspi_data_lines = 0;
}
/* set send buf and send size */