Xteink-X4-crosspoint-reader/src/activities
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
..
boot_sleep Custom sleep screen support with BMP reading (#57) 2025-12-19 08:45:14 +11:00
home Rename Screens to Activities and restructure files (#44) 2025-12-17 23:32:18 +11:00
reader Validate file handle when reading progress.bin (#66) 2025-12-19 23:27:08 +11:00
settings Rename Screens to Activities and restructure files (#44) 2025-12-17 23:32:18 +11:00
util Rename Screens to Activities and restructure files (#44) 2025-12-17 23:32:18 +11:00
Activity.h Rename Screens to Activities and restructure files (#44) 2025-12-17 23:32:18 +11:00
ActivityWithSubactivity.cpp Rename Screens to Activities and restructure files (#44) 2025-12-17 23:32:18 +11:00
ActivityWithSubactivity.h Rename Screens to Activities and restructure files (#44) 2025-12-17 23:32:18 +11:00