Skip to content

Commit 66d1770

Browse files
committed
manually add another lost comment
1 parent 8ab4774 commit 66d1770

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/usb/uf2/ghostfat.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,7 @@ void read_block(uint32_t block_no, uint8_t *data) {
264264
sectionIdx -= START_CLUSTERS;
265265
if (sectionIdx < NUM_FILES - 1) {
266266
memcpy(data, info[sectionIdx].content, strlen(info[sectionIdx].content));
267-
} else {
267+
} else { // generate the UF2 file data on-the-fly
268268
sectionIdx -= NUM_FILES - 1;
269269
uint32_t addr = USER_FLASH_START + sectionIdx * 256;
270270
if (addr < USER_FLASH_START+FLASH_SIZE) {

0 commit comments

Comments
 (0)