manually add another lost comment

This commit is contained in:
Henry Gabryjelski 2019-03-19 01:01:50 -07:00
parent 8ab4774c93
commit 66d1770407
1 changed files with 1 additions and 1 deletions

View File

@ -264,7 +264,7 @@ void read_block(uint32_t block_no, uint8_t *data) {
sectionIdx -= START_CLUSTERS;
if (sectionIdx < NUM_FILES - 1) {
memcpy(data, info[sectionIdx].content, strlen(info[sectionIdx].content));
} else {
} else { // generate the UF2 file data on-the-fly
sectionIdx -= NUM_FILES - 1;
uint32_t addr = USER_FLASH_START + sectionIdx * 256;
if (addr < USER_FLASH_START+FLASH_SIZE) {