Skip to content

Commit

Permalink
Merge pull request #6003 from dhalbert/spi-half-duplex-signature
Browse files Browse the repository at this point in the history
add half_duplex to busio.SPI signature
  • Loading branch information
tannewt authored Feb 10, 2022
2 parents c9b494b + c4e54ce commit 5355092
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion shared-bindings/busio/SPI.c
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
//| multiple secondaries can share the `!clock`, `!MOSI` and `!MISO` lines
//| and therefore the hardware.)"""
//|
//| def __init__(self, clock: microcontroller.Pin, MOSI: Optional[microcontroller.Pin] = None, MISO: Optional[microcontroller.Pin] = None) -> None:
//| def __init__(self, clock: microcontroller.Pin, MOSI: Optional[microcontroller.Pin] = None, MISO: Optional[microcontroller.Pin] = None, half_duplex: bool = False) -> None:
//|
//| """Construct an SPI object on the given pins.
//|
Expand Down

0 comments on commit 5355092

Please sign in to comment.