X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=bertos%2Fcfg%2Fcfg_spi_bitbang.h;h=1a3a8a929303266d8dd186b3dff38655b42a10b2;hb=56f2c002c50338f23f1b969ba51a43b0eb24f3da;hp=f292346b5e56324b2d67f68800c36c774c5ea09c;hpb=9bde379b39600b3023bc42ea7affdab4edc8cf18;p=bertos.git diff --git a/bertos/cfg/cfg_spi_bitbang.h b/bertos/cfg/cfg_spi_bitbang.h index f292346b..1a3a8a92 100644 --- a/bertos/cfg/cfg_spi_bitbang.h +++ b/bertos/cfg/cfg_spi_bitbang.h @@ -32,7 +32,6 @@ * * \brief Configuration file for SPI bitbang module. * - * \version $Id$ * * \author Daniele Basile */ @@ -40,8 +39,13 @@ #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 */