change default phase for SPI

crypto-aes
Hierophect 3 years ago
parent 3de1b9edbe
commit f3f2c7f5de
  1. 2
      ports/stm32f4/common-hal/busio/SPI.c

@ -165,7 +165,7 @@ void common_hal_busio_spi_construct(busio_spi_obj_t *self,
self->baudrate = (get_busclock(SPIx)/16);
self->prescaler = 16;
self->polarity = 0;
self->phase = 1;
self->phase = 0;
self->bits = 8;
claim_pin(sck);

Loading…
Cancel
Save