projects
/
bertos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3715319
)
Silence warning during night test.
author
batt
<batt@38d2e660-2303-0410-9eaa-f027e97ec537>
Thu, 8 Jul 2010 16:32:34 +0000
(16:32 +0000)
committer
batt
<batt@38d2e660-2303-0410-9eaa-f027e97ec537>
Thu, 8 Jul 2010 16:32:34 +0000
(16:32 +0000)
git-svn-id: https://src.develer.com/svnoss/bertos/trunk@4014
38d2e660
-2303-0410-9eaa-
f027e97ec537
bertos/drv/sd.h
patch
|
blob
|
history
diff --git
a/bertos/drv/sd.h
b/bertos/drv/sd.h
index a0ca1d42dfd8a79493879d605a7a6409bd0e771c..368e0d4fff975d6d375257004ed01c1f2f3e4fca 100644
(file)
--- a/
bertos/drv/sd.h
+++ b/
bertos/drv/sd.h
@@
-65,8
+65,10
@@
bool sd_initUnbuf(Sd *sd, KFile *ch);
bool sd_initBuf(Sd *sd, KFile *ch);
#if CONFIG_SD_OLD_INIT
- #warning "Deprecated: this API will be removed in the next major release,"
- #warning "please disable CONFIG_SD_OLD_INIT and pass explicitly the SD context to sd_init()."
+ #if !(ARCH & ARCH_NIGHTTEST)
+ #warning "Deprecated: this API will be removed in the next major release,"
+ #warning "please disable CONFIG_SD_OLD_INIT and pass explicitly the SD context to sd_init()."
+ #endif
/**
* Initializes the SD driver.