projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add support for parametrization of the sources dir and the project sources dir.
[bertos.git]
/
bertos
/
cfg
/
cfg_spi_bitbang.h
diff --git
a/bertos/cfg/cfg_spi_bitbang.h
b/bertos/cfg/cfg_spi_bitbang.h
index f292346b5e56324b2d67f68800c36c774c5ea09c..6e9a96bca5236337910fea8c7204c29faac34901 100644
(file)
--- a/
bertos/cfg/cfg_spi_bitbang.h
+++ b/
bertos/cfg/cfg_spi_bitbang.h
@@
-40,8
+40,13
@@
#ifndef CFG_SPI_BITBANG_H
#define CFG_SPI_BITBANG_H
#ifndef CFG_SPI_BITBANG_H
#define CFG_SPI_BITBANG_H
-/// Set data order for emulated SPI
-#define CONFIG_SPI_DATAORDER 1
+/**
+ * Set data order for emulated SPI.
+ *
+ * $WIZ$ type = "enum"
+ * $WIZ$ value_list = "ordet_bit_list"
+ */
+#define CONFIG_SPI_DATAORDER SPI_LSB_FIRST
#endif /* CFG_SPI_BITBANG_H */
#endif /* CFG_SPI_BITBANG_H */