git.droids-corp.org
/
protos
/
imu.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fix compilation errors due to undefined variables
[protos/imu.git]
/
sd_main.c
diff --git
a/sd_main.c
b/sd_main.c
index
82bb8ad
..
d2ee6c5
100644
(file)
--- a/
sd_main.c
+++ b/
sd_main.c
@@
-603,6
+603,8
@@
uint32_t strtolong(const char* str)
uint8_t find_file_in_dir(struct fat_fs_struct* fs, struct fat_dir_struct* dd, const char* name, struct fat_dir_entry_struct* dir_entry)
{
+ (void)fs;
+
while(fat_read_dir(dd, dir_entry))
{
if(strcmp(dir_entry->long_name, name) == 0)