Fix file endings
This commit is contained in:
@@ -3,4 +3,4 @@
|
|||||||
|
|
||||||
void exec(char* filename);
|
void exec(char* filename);
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
2
sw/fat.c
2
sw/fat.c
@@ -70,4 +70,4 @@ void fat_read(char* filename, void* buf) {
|
|||||||
cluster = ((uint32_t)dos_dentry->first_cluster_h << 16) + dos_dentry->first_cluster_l;
|
cluster = ((uint32_t)dos_dentry->first_cluster_h << 16) + dos_dentry->first_cluster_l;
|
||||||
|
|
||||||
sd_readblock(data_region_start + (cluster - 2) * 8, buf);
|
sd_readblock(data_region_start + (cluster - 2) * 8, buf);
|
||||||
}
|
}
|
||||||
|
|||||||
2
sw/fat.h
2
sw/fat.h
@@ -108,4 +108,4 @@ void fat_print_pbp_info(ebpb_t* epbp);
|
|||||||
void fat_init();
|
void fat_init();
|
||||||
void fat_read(char* filename, void* buf);
|
void fat_read(char* filename, void* buf);
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
2
sw/o65.c
2
sw/o65.c
@@ -25,4 +25,4 @@ void o65_print_option(o65_opt_t* opt) {
|
|||||||
cprintf("%x", opt->data[0]);
|
cprintf("%x", opt->data[0]);
|
||||||
}
|
}
|
||||||
cprintf("\n\n");
|
cprintf("\n\n");
|
||||||
}
|
}
|
||||||
|
|||||||
2
sw/o65.h
2
sw/o65.h
@@ -63,5 +63,3 @@ typedef struct {
|
|||||||
void o65_print_option(o65_opt_t* opt);
|
void o65_print_option(o65_opt_t* opt);
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -15,4 +15,4 @@ void sd_card_resp(uint32_t* resp);
|
|||||||
uint8_t sd_card_read_byte();
|
uint8_t sd_card_read_byte();
|
||||||
void sd_card_wait_for_data();
|
void sd_card_wait_for_data();
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user