mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-02-19 07:32:02 +08:00
Fix rt_qspi_send symbol extension BUG
This commit is contained in:
parent
c8d92d7529
commit
0827ca64d0
@ -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);
|
RT_ASSERT(length != 0);
|
||||||
|
|
||||||
struct rt_qspi_message message;
|
struct rt_qspi_message message;
|
||||||
char *ptr = (char *)send_buf;
|
unsigned char *ptr = (unsigned char *)send_buf;
|
||||||
rt_size_t count = 0;
|
rt_size_t count = 0;
|
||||||
rt_err_t result = 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
|
else
|
||||||
{
|
{
|
||||||
message.qspi_data_lines = 0;
|
message.qspi_data_lines = 0;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/* set send buf and send size */
|
/* set send buf and send size */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user