Skip to content

Commit 7dd5380

Browse files
committed
Fixed stubs again
1 parent 76c1153 commit 7dd5380

File tree

2 files changed

+8
-10
lines changed

2 files changed

+8
-10
lines changed

shared-bindings/busdevice/I2CDevice.c

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,10 +48,9 @@
4848
//| :param ~busio.I2C i2c: The I2C bus the device is on
4949
//| :param int device_address: The 7 bit device address
5050
//| :param bool probe: Probe for the device upon object creation, default is true
51-
//| .. note:: This class is **NOT** built into CircuitPython. See
52-
//| :ref:`here for install instructions <bus_device_installation>`.
53-
//| Example:
54-
//| .. code-block:: python
51+
//|
52+
//| Example::
53+
//|
5554
//| import busio
5655
//| from board import *
5756
//| from adafruit_bus_device.i2c_device import I2CDevice

shared-bindings/busdevice/SPIDevice.c

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -46,12 +46,11 @@
4646
//| """
4747
//| Represents a single SPI device and manages locking the bus and the device address.
4848
//| :param ~busio.SPI spi: The SPI bus the device is on
49-
//| :param ~digitalio.DigitalInOut chip_select: The chip select pin object that implements the
50-
//| DigitalInOut API.
51-
//| :param int extra_clocks: The minimum number of clock cycles to cycle the bus after CS is high.
52-
//| (Used for SD cards.)
53-
//| Example:
54-
//| .. code-block:: python
49+
//| :param ~digitalio.DigitalInOut chip_select: The chip select pin object that implements the DigitalInOut API.
50+
//| :param int extra_clocks: The minimum number of clock cycles to cycle the bus after CS is high. (Used for SD cards.)
51+
//|
52+
//| Example::
53+
//|
5554
//| import busio
5655
//| import digitalio
5756
//| from board import *

0 commit comments

Comments
 (0)