mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-01-30 05:10:26 +08:00
commit
2f7abc501c
@ -691,7 +691,7 @@ __exit:
|
||||
static sfud_err aai_write(const sfud_flash *flash, uint32_t addr, size_t size, const uint8_t *data) {
|
||||
sfud_err result = SFUD_SUCCESS;
|
||||
const sfud_spi *spi = &flash->spi;
|
||||
uint8_t cmd_data[6], cmd_size;
|
||||
uint8_t cmd_data[8], cmd_size;
|
||||
bool first_write = true;
|
||||
|
||||
SFUD_ASSERT(flash);
|
||||
|
@ -737,7 +737,7 @@ int at_recv(int s, void *mem, size_t len, int flags)
|
||||
|
||||
int at_sendto(int socket, const void *data, size_t size, int flags, const struct sockaddr *to, socklen_t tolen)
|
||||
{
|
||||
struct at_socket *sock;
|
||||
struct at_socket *sock = RT_NULL;
|
||||
int len, result = 0;
|
||||
|
||||
if (at_dev_ops == RT_NULL)
|
||||
|
Loading…
x
Reference in New Issue
Block a user