change default phase for SPI

This commit is contained in:
Hierophect 2019-12-05 11:38:20 -05:00
parent 3de1b9edbe
commit f3f2c7f5de

View File

@ -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);