projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
USB: coding style fixes (structure naming)
[bertos.git]
/
bertos
/
drv
/
sd.c
diff --git
a/bertos/drv/sd.c
b/bertos/drv/sd.c
index 091a42bde073e3338ca2b15a65579a67c8b9e28f..c12d7592e6660332d57a430c1473e620057ae37a 100644
(file)
--- a/
bertos/drv/sd.c
+++ b/
bertos/drv/sd.c
@@
-378,11
+378,10
@@
static int sd_error(KBlock *b)
return sd->r1;
}
return sd->r1;
}
-static
int
sd_clearerr(KBlock *b)
+static
void
sd_clearerr(KBlock *b)
{
Sd *sd = SD_CAST(b);
sd->r1 = 0;
{
Sd *sd = SD_CAST(b);
sd->r1 = 0;
- return 0;
}
static const KBlockVTable sd_unbuffered_vt =
}
static const KBlockVTable sd_unbuffered_vt =