X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=bertos%2Fcfg%2Fcfg_spi_bitbang.h;h=6e9a96bca5236337910fea8c7204c29faac34901;hb=ea2ab724831d7e9ff1b3b969ceea0635228f92e2;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..6e9a96bc 100644 --- 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 -/// 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 */