X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=bertos%2Fcfg%2Fcfg_spi_bitbang.h;h=eab167ea0b633a01fa21ac2ccece35287f650611;hb=54c0cbfcd383f860eb4d69c91eb7dee9e3615a1f;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..eab167ea 100644 --- a/bertos/cfg/cfg_spi_bitbang.h +++ b/bertos/cfg/cfg_spi_bitbang.h @@ -40,8 +40,15 @@ #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. + * + * $WIZARD = { + * "type" : "enum", + * "value_list" : "ordet_bit_list" + * } + */ +#define CONFIG_SPI_DATAORDER SPI_LSB_FIRST #endif /* CFG_SPI_BITBANG_H */