mirror of
https://github.com/cesanta/mongoose.git
synced 2026-11-03 13:28:44 +00:00
assorted patches
This commit is contained in:
1 parent
07a49a7a2d
commit
a9df523f76
34 files changed
+1240
-592
No files matched your search
+1
-1
@@ -1054,7 +1054,7 @@ static size_t cyw_spi_poll(uint8_t *response) {
|
||||
}
|
||||
|
||||
static size_t cyw_spi_tx(uint32_t *data, uint16_t len) {
|
||||
while (len & 3) data[len++] = 0; // SPI 32-bit padding
|
||||
while (len & 3) ((uint8_t *)data)[len++] = 0; // SPI 32-bit padding
|
||||
return cyw_spi_write(CYW_SPID_FUNC_WLAN, 0, data, len) ? len: 0;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user