fixed typo
This commit is contained in:
parent
e9f18122e9
commit
76dc8e1ac8
@ -133,7 +133,7 @@ uint32_t common_hal_displayio_ondiskbitmap_get_pixel(displayio_ondiskbitmap_t *s
|
|||||||
// We don't cache here because the underlying FS caches sectors.
|
// We don't cache here because the underlying FS caches sectors.
|
||||||
f_lseek(&self->file->fp, location);
|
f_lseek(&self->file->fp, location);
|
||||||
UINT bytes_read;
|
UINT bytes_read;
|
||||||
uint32_t pixel_data = 0; // this name is stale
|
uint32_t pixel_data = 0;
|
||||||
uint32_t result = f_read(&self->file->fp, &pixel_data, bytes_per_pixel, &bytes_read);
|
uint32_t result = f_read(&self->file->fp, &pixel_data, bytes_per_pixel, &bytes_read);
|
||||||
if (result == FR_OK) {
|
if (result == FR_OK) {
|
||||||
uint32_t tmp = 0;
|
uint32_t tmp = 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user