Xteink-X4-crosspoint-reader/src
IFAKA 2d3928ed81
Validate file handle when reading progress.bin (#66)
## Problem
Reading progress.bin used `SD.exists()` then `SD.open()` without
checking if open succeeded. Race conditions or SD errors could cause
file handle to be invalid.

## Fix
- Removed redundant `SD.exists()` check
- Check if file opened successfully before reading
- Verify correct number of bytes were read

## Testing
- Builds successfully with `pio run`
- Affects: `src/activities/reader/EpubReaderActivity.cpp`
2025-12-19 23:27:08 +11:00
..
activities Validate file handle when reading progress.bin (#66) 2025-12-19 23:27:08 +11:00
images Move to SDK EInkDisplay and enable anti-aliased 2-bit text (#5) 2025-12-08 19:48:49 +11:00
Battery.h Public release 2025-12-03 22:06:45 +11:00
config.h Fix font readability by expanding blacks and trimming whites (#55) 2025-12-18 21:39:13 +11:00
CrossPointSettings.cpp Rename Screens to Activities and restructure files (#44) 2025-12-17 23:32:18 +11:00
CrossPointSettings.h Fix formatting 2025-12-15 23:17:23 +11:00
CrossPointState.cpp Rename Screens to Activities and restructure files (#44) 2025-12-17 23:32:18 +11:00
CrossPointState.h Rename Screens to Activities and restructure files (#44) 2025-12-17 23:32:18 +11:00
main.cpp Check SD card initialization and show error on failure (#65) 2025-12-19 23:24:25 +11:00