change default phase for SPI
This commit is contained in:
parent
3de1b9edbe
commit
f3f2c7f5de
@ -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…
Reference in New Issue
Block a user