We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 37a8c21 commit 20bc7b7Copy full SHA for 20bc7b7
ext_mod/lcd_bus/common_src/spi_bus.c
@@ -123,17 +123,9 @@
123
uint8_t firstbit;
124
125
if (args[ARG_lsb_first].u_bool) {
126
- #ifdef MICROPY_PY_MACHINE_SPI_LSB
127
- firstbit = MICROPY_PY_MACHINE_SPI_LSB;
128
- #else
129
- firstbit = 1;
130
- #endif
+ firstbit = 1;
131
} else {
132
- #ifdef MICROPY_PY_MACHINE_SPI_MSB
133
- firstbit = MICROPY_PY_MACHINE_SPI_MSB;
134
135
- firstbit = 0;
136
+ firstbit = 0;
137
}
138
139
spi_args[0] = mp_obj_new_int_from_uint(args[ARG_host].u_int);
0 commit comments