mirror of
https://github.com/esp8266/Arduino.git
synced 2025-04-19 23:22:16 +03:00
parent
4812cae8e2
commit
f211014dd3
@ -60,7 +60,7 @@ int32_t spiffs_hal_read(uint32_t addr, uint32_t size, uint8_t *dst) {
|
|||||||
__LINE__, addr, size, alignedBegin, alignedEnd);
|
__LINE__, addr, size, alignedBegin, alignedEnd);
|
||||||
return SPIFFS_ERR_INTERNAL;
|
return SPIFFS_ERR_INTERNAL;
|
||||||
}
|
}
|
||||||
memcpy(dst, &tmp + 4 - nb, nb);
|
memcpy(dst, ((uint8_t*) &tmp) + 4 - nb, nb);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (alignedEnd != alignedBegin) {
|
if (alignedEnd != alignedBegin) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user